react-native-video: seek not work
<Video source={...} seek={20.0}
rate={1}
volume={1.0}
muted={false}
paused={false}
resizeMode="cover"
repeat={true}
/>
I need to start playing at a specific time,but not work I don’t know why… help…
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 20 (5 by maintainers)
did anybody solved this issue?
Was this problem ever solved? I am trying to return the seek to 0 after the video is done playing (onEnd), using this.player.seek(0) but I get undefined is not an object (evaluating _this.player.seek)
Trying to implement Forward/Backword for 10 seconds.
videoPlayer?.current.seek(seek)sometimes it works, but mostly it doesn’t work.
You need to call
seekon the ref<Video ref="someVideo" {...otherProps} />later…
this.refs.someVideo.seek(someTime)Let me know if this fixes your issue!