From 2e3113c88a4ffc6f5c0b9e6227c4b8a97f16ce4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B0=95=ED=9A=A8=EC=A4=80?= Date: Wed, 4 Dec 2024 02:01:14 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20=EB=B6=88=ED=95=84=EC=9A=94=ED=95=9C?= =?UTF-8?q?=20=EC=BD=94=EB=93=9C=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Source/Design/MHVideoView.swift | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/MemorialHouse/MHPresentation/MHPresentation/Source/Design/MHVideoView.swift b/MemorialHouse/MHPresentation/MHPresentation/Source/Design/MHVideoView.swift index 30e49ff..bbd5f02 100644 --- a/MemorialHouse/MHPresentation/MHPresentation/Source/Design/MHVideoView.swift +++ b/MemorialHouse/MHPresentation/MHPresentation/Source/Design/MHVideoView.swift @@ -27,22 +27,10 @@ final class MHVideoView: UIView { playerViewController.showsPlaybackControls = true } - func configureConstraint() { + private func configureConstraint() { addSubview(playerViewController.view) playerViewController.view.fillSuperview() } - - func play() { - playerViewController.player?.play() - } - - func pause() { - playerViewController.player?.pause() - } - - func seek(to time: CMTime) { - playerViewController.player?.seek(to: time) - } } extension MHVideoView: @preconcurrency MediaAttachable { @@ -52,7 +40,6 @@ extension MHVideoView: @preconcurrency MediaAttachable { func configureSource(with mediaDescription: MediaDescription, url: URL) { let player = AVPlayer(url: url) - MHLogger.debug("\(#function): \(url)") configurePlayer(player: player) } }