invidious-experimenting/src/invidious
leonklingele e6b4e12689 js: add support for keydown events (#678)
* js: add support for keydown events

This will modify the player behavior even if the player element is unfocused.

Based on the YouTube key bindings, allow to

- toggle playback with space and 'k' key
- increase and decrease player volume with up / down arrow key
- mute and unmute player with 'm' key
- jump forwards and backwards by 5 seconds with right / left arrow key
- jump forwards and backwards by 10 seconds with 'l' / 'j'  key
- set video progress with number keys 0–9
- toggle captions with 'c' key
- toggle fullscreen mode with 'f' key
- play next video with 'N' key
- increase and decrease playback speed with '>' / '<' key

* js: remove unused dependency 'videojs.hotkeys.min.js'

Support for controlling the player volume by scrolling over it is
still retained by copying over the relevant code part from the
aforementioned library.
2019-08-16 16:01:14 -05:00
..
helpers Fix season playlists 2019-08-16 15:46:59 -05:00
views js: add support for keydown events (#678) 2019-08-16 16:01:14 -05:00
channels.cr Add fix for channels with empty descriptions 2019-08-01 07:49:33 -05:00
comments.cr Refactor continuation protocol buffers 2019-07-20 20:18:08 -05:00
mixes.cr Fix extraction for ytInitialData 2019-07-11 07:27:54 -05:00
playlists.cr Refactor continuation protocol buffers 2019-07-20 20:18:08 -05:00
search.cr Fix season playlists 2019-08-16 15:46:59 -05:00
trending.cr Fix extraction for ytInitialData 2019-07-11 07:27:54 -05:00
users.cr Add prefers-color-scheme support (#601) 2019-08-15 11:29:55 -05:00
videos.cr Refactor geo-bypass 2019-08-14 18:09:07 -05:00