fix(js): fix onPlaybackStateChanged callback (#3753)
This commit is contained in:
parent
d25629bb62
commit
f87a7938c6
@ -549,7 +549,7 @@ const Video = forwardRef<VideoRef, ReactVideoProps>(
|
|||||||
onVideoEnd={onEnd}
|
onVideoEnd={onEnd}
|
||||||
onVideoBuffer={onBuffer ? onVideoBuffer : undefined}
|
onVideoBuffer={onBuffer ? onVideoBuffer : undefined}
|
||||||
onVideoPlaybackStateChanged={
|
onVideoPlaybackStateChanged={
|
||||||
onPlaybackRateChange ? onVideoPlaybackStateChanged : undefined
|
onPlaybackStateChanged ? onVideoPlaybackStateChanged : undefined
|
||||||
}
|
}
|
||||||
onVideoBandwidthUpdate={
|
onVideoBandwidthUpdate={
|
||||||
onBandwidthUpdate ? _onBandwidthUpdate : undefined
|
onBandwidthUpdate ? _onBandwidthUpdate : undefined
|
||||||
|
Loading…
Reference in New Issue
Block a user