Closed mchambaud closed 1 year ago
There is no props to loop a video, I tried catching the onEnd and then calling seekTo(0) and play = true but it will not replay.
onEnd
seekTo(0)
play = true
Is there something I missed?
When you got onEnd callback ,Try playerRef?.current?.seekTo(0); and then set play = true
There is no props to loop a video, I tried catching the
onEnd
and then callingseekTo(0)
andplay = true
but it will not replay.Is there something I missed?