A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion
When i play vimeo video clicking on thumbnail , it triggers onReady and onSeek callbacks, but not onPause while pausing video.
Expected Behavior
I want to change user's view to swiper based on onPause callback and when user plays video back again it seeks and plays to where video was been paused.
Steps to Reproduce
Use provided vimeo video link and sample piece of code to reproduce issue.
Current Behavior
When i play vimeo video clicking on thumbnail , it triggers onReady and onSeek callbacks, but not onPause while pausing video.
Expected Behavior
I want to change user's view to swiper based on onPause callback and when user plays video back again it seeks and plays to where video was been paused.
Steps to Reproduce
Other Information
<ReactPlayer ref={this.reactPlayer} url={video.href} height="100%" width="100%" playsinline controls loop={false} playing onReady={() => { this.reactPlayer .current .seekTo(this.props.startFrom, "seconds") }} onPause={() => { this.onStateChangeVideo({ data: 2, time: 0, }) }} onSeek={()=> { this.onStateChangeVideo({ data: 1, time: 0, }) }} onEnded={() => { this.onStateChangeVideo({ data: 1, time: 0, }) }}