diff --git a/ios/Video/RCTVideo.swift b/ios/Video/RCTVideo.swift index 9fcfb6b1..4c9018f6 100644 --- a/ios/Video/RCTVideo.swift +++ b/ios/Video/RCTVideo.swift @@ -780,7 +780,6 @@ class RCTVideo: UIView, RCTVideoPlayerViewControllerDelegate, RCTPlayerObserverH let seekTime = CMTimeMakeWithSeconds(Float64(time.floatValue), preferredTimescale: Int32(NSEC_PER_SEC)) let toleranceTime = CMTimeMakeWithSeconds(Float64(tolerance.floatValue), preferredTimescale: Int32(NSEC_PER_SEC)) - // Print current time before starting seek let currentTimeBeforeSeek = CMTimeGetSeconds(item.currentTime()) print("Before seek - Current time: \(currentTimeBeforeSeek), Seeking to: \(time)") @@ -798,7 +797,6 @@ class RCTVideo: UIView, RCTVideoPlayerViewControllerDelegate, RCTPlayerObserverH self._pendingSeek = false guard finished else { - print("Seek operation did not finish successfully") return } @@ -808,10 +806,8 @@ class RCTVideo: UIView, RCTVideoPlayerViewControllerDelegate, RCTPlayerObserverH } let currentTimeAfterSeek = CMTimeGetSeconds(item.currentTime()) - print("After seek - Current time: \(currentTimeAfterSeek), Sought to: \(time)") let newCurrentTime = NSNumber(value: Float(currentTimeAfterSeek)) - print("Seek completed, about to call onVideoSeekComplete") self.onVideoSeekComplete?(["currentTime": newCurrentTime, "seekTime": time, "target": self.reactTag])