videojs-hotkeys
videojs-hotkeys copied to clipboard
feat: add `enableSeekPause` option
Hi @ctd1500 ,
Thanks for the great plugin!
After I press the right/left arrow keys to seek video will cause a pause when it is playing.
I think just using the currentTime
method to seek will keep playing state. No need to keep track current playing state.
Please let me know what you think. Thank you!
The pause/play is there for consistency with how the seekbar works when using the mouse: #41.
You could add a new option like enableSeekPause
, default to true
for compatibility.
Thank you for explaining that!
enableSeekPause
sounds like a good option. I will turn this PR into a draft and then implement it.
Hi @ctd1500 ,
Sorry for being a little bit late.
I added the enableSeekPause
option for the previous discussion & also update README.md
.
Please take a look & let me know what you think!