This commit is contained in:
Kat Huang 2024-08-08 16:36:25 -06:00
parent 4905cdf98e
commit f35da3e5a7

View File

@ -768,6 +768,7 @@ class RCTVideo: UIView, RCTVideoPlayerViewControllerDelegate, RCTPlayerObserverH
@objc
func setSeek(_ time: NSNumber, _ tolerance: NSNumber) {
print("KAT IOS FIRST LINE OF SET SEEK")
let item: AVPlayerItem? = _player?.currentItem
guard item != nil, let player = _player, let item, item.status == AVPlayerItem.Status.readyToPlay else {
_pendingSeek = true