Invidious already supports quite a few of these, spacebar, k, j, l, f, m, other player shortcuts should be fairly straightforward. Invidious also supports changing playback rate with Shift+< and Shift+> which does not appear to be listed.
Several others also appear not to be listed that appear with Shift+? on the YT player.
Didn't noticed that as the shortcuts only work if the player is "focused". If I have multiple windows opened and click back to the browser window which is opened than shortcuts dont work.
Also noticed that l and j only jumps 5 seconds, not 10.
An interesting shortcut is Shift and a number (0, 1-9) to skip the a specifc timestamp in the video
My partner and I switched to Invidious on our HTPC. She keeps smashing spacebar to pause during a conversation, and says "dammit" when it scrolls to the comments.
Would be awesome if spacebar paused the video regardles of whether it's focused! Thank you.
YouTube also does not pause the video and scrolls to the comments if not focused. This is normal behaviour, at least for me.
Hmm I think maybe it's because on YouTube the video stays fullscreen between videos. We've gotten used to leaving it not fullscreen since the autoplay feature causes the page to refresh. Maybe this is why the video stays focused on YouTube but not Invidious.
I think on YouTube the player is focused by default. Likely would make sense for Invidious to behave similarly.
I think on YouTube the player is focused by default. Likely would make sense for Invidious to behave similarly.
I believe on YouTube it's only focused after the video has started playing, so no autoplay = no keyboard shortcuts until you click on the video. The ability to have shortcuts enabled with autoplay disabled was one of my favorite things about Iridium (https://github.com/ParticleCore/Iridium/wiki/Features#shortcuts_always_active), and I'd love to see it become a part of Invidious as well.
The YouTube shortcuts work no matter whether the focus is on the video or on the title, description or comments - which of course is very user friendly. Would be nice, if invidious behaves the same.
The invidious users cannot write YouTube comments, so it should be safe to introduce shortcut listeners with a bigger/global scope.
Implemented by #678.