fix(js): fix onPlaybackStateChanged callback (#3753)

This commit is contained in:
YangJH 2024-05-11 03:38:34 +09:00 committed by GitHub
parent d25629bb62
commit f87a7938c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -549,7 +549,7 @@ const Video = forwardRef<VideoRef, ReactVideoProps>(
onVideoEnd={onEnd}
onVideoBuffer={onBuffer ? onVideoBuffer : undefined}
onVideoPlaybackStateChanged={
onPlaybackRateChange ? onVideoPlaybackStateChanged : undefined
onPlaybackStateChanged ? onVideoPlaybackStateChanged : undefined
}
onVideoBandwidthUpdate={
onBandwidthUpdate ? _onBandwidthUpdate : undefined