vidstack / player

UI components and hooks for building video/audio players on the web. Robust, customizable, and accessible. Modern alternative to JW Player and Video.js.
https://vidstack.io
MIT License
2.35k stars 137 forks source link

`Ctrl+0` causes a jump to the beginning of the video #1462

Open alopatindev opened 1 month ago

alopatindev commented 1 month ago

Causes painful UX: if you watch a long video and just expect a normal behavior from Ctrl+0 (which is zooming the page to a normal size), instead it jumps to the beginning and demotivates continuing watching the video, because this requires finding where you were interrupted.

Seems to be there's no mention of such hotkey in the code, there's no such behavior on YouTube and Vimeo, so this appears to be a bug to me.

Reproduction Link: https://www.vidstack.io/player/demo

Doesn't reproduce with <media-player ... key-disabled>.

Thanks for making Vidstack Player anyway! Looks like it's the least buggy and yet most powerful player of those that are currently compatible with p2p-media-loader.

alopatindev commented 4 weeks ago

Ctrl+0 is currently interpreted as 0, here's the fix: #1493