videojs-offset
videojs-offset copied to clipboard
Video auto play when moving seek bar to start time
Description
When trying to move video's current position to start time, the video is auto play even thought it is paused
Steps to reproduce
- Play then pause the video
- Move the video seek bar 's current position to left most or set video's current Time through function
Results
Expected
Video's current time is at 0 and does not start playing
Actual
Video's current time is at 0 and start playing
Error output
If there are any errors at all, please include them here.
Additional Information
In function onPlayerTimeUpdate I found these logic
if (curr < 0) { this.currentTime(0); this.play(); }
It should just set the currentTIme to 0 without play
versions
videojs
what version of videojs does this occur with?
browsers
what browser are affected?
OSes
what platforms (operating systems and devices) are affected?
plugins
are any videojs plugins being used on the page? If so, please list them below.