kat-debug #2
@ -114,7 +114,11 @@ class RCTVideo: UIView, RCTVideoPlayerViewControllerDelegate, RCTPlayerObserverH
|
|||||||
@objc var onVideoProgress: RCTDirectEventBlock?
|
@objc var onVideoProgress: RCTDirectEventBlock?
|
||||||
@objc var onVideoBandwidthUpdate: RCTDirectEventBlock?
|
@objc var onVideoBandwidthUpdate: RCTDirectEventBlock?
|
||||||
@objc var onVideoSeek: RCTDirectEventBlock?
|
@objc var onVideoSeek: RCTDirectEventBlock?
|
||||||
@objc var onVideoSeekComplete: RCTDirectEventBlock?
|
@objc var onVideoSeekComplete: RCTDirectEventBlock? {
|
||||||
|
didSet {
|
||||||
|
print("onVideoSeekComplete set: \(onVideoSeekComplete != nil)")
|
||||||
|
}
|
||||||
|
}
|
||||||
@objc var onVideoEnd: RCTDirectEventBlock?
|
@objc var onVideoEnd: RCTDirectEventBlock?
|
||||||
@objc var onTimedMetadata: RCTDirectEventBlock?
|
@objc var onTimedMetadata: RCTDirectEventBlock?
|
||||||
@objc var onVideoAudioBecomingNoisy: RCTDirectEventBlock?
|
@objc var onVideoAudioBecomingNoisy: RCTDirectEventBlock?
|
||||||
@ -787,7 +791,7 @@ class RCTVideo: UIView, RCTVideoPlayerViewControllerDelegate, RCTPlayerObserverH
|
|||||||
self.onVideoSeek?(["currentTime": currentTime,
|
self.onVideoSeek?(["currentTime": currentTime,
|
||||||
"seekTime": time,
|
"seekTime": time,
|
||||||
"target": self.reactTag])
|
"target": self.reactTag])
|
||||||
|
print("Seek completed, about to call onVideoSeekComplete")
|
||||||
self.onVideoSeekComplete?(["currentTime": currentTime,
|
self.onVideoSeekComplete?(["currentTime": currentTime,
|
||||||
"seekTime": time,
|
"seekTime": time,
|
||||||
"target": self.reactTag])
|
"target": self.reactTag])
|
||||||
|
Loading…
Reference in New Issue
Block a user