Closed kaizau closed 7 years ago
By default, interacting with the video.js seekbar triggers pause and playing events if the video is playing: https://github.com/videojs/video.js/blob/master/src/js/control-bar/progress-control/seek-bar.js#L115
pause
playing
Using hotkeys doesn't trigger the same events, making it hard to build consistent behavior on top of those events. This PR replicates the seekbar behavior.
By default, interacting with the video.js seekbar triggers
pause
andplaying
events if the video is playing: https://github.com/videojs/video.js/blob/master/src/js/control-bar/progress-control/seek-bar.js#L115Using hotkeys doesn't trigger the same events, making it hard to build consistent behavior on top of those events. This PR replicates the seekbar behavior.