expose-on-seek-complete #1

Merged
kkathuang merged 8 commits from expose-on-seek-complete into master 2024-08-06 00:11:18 -06:00
Showing only changes of commit 38ccdd1df6 - Show all commits

View File

@ -761,8 +761,8 @@ class RCTVideo: UIView, RCTVideoPlayerViewControllerDelegate, RCTPlayerObserverH
_paused = paused
}

@objc
@objc
func setSeek(_ time: NSNumber, _ tolerance: NSNumber) {
let item: AVPlayerItem? = _player?.currentItem
guard item != nil, let player = _player, let item, item.status == AVPlayerItem.Status.readyToPlay else {