invidious/assets/js
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
..
community.js Add community page 2019-07-09 09:31:04 -05:00
embed.js Remove default arguments from function definitions 2019-07-20 20:33:44 -05:00
notifications.js Remove default arguments from function definitions 2019-07-20 20:33:44 -05:00
player.js js: add support for keydown events (#678) 2019-08-16 16:01:14 -05:00
silvermine-videojs-quality-selector.min.js Remove sourceMap link for JS source 2019-03-08 10:36:14 -06:00
sse.js Prevent firing _onStreamProgress after aborting 2019-06-22 20:08:37 -05:00
subscribe_widget.js Shorten timeout for AJAX 2019-06-16 12:55:17 -05:00
themes.js Add prefers-color-scheme support (#601) 2019-08-15 11:29:55 -05:00
video.min.js Add http-source-selector 2019-04-28 10:05:15 -05:00
videojs-contrib-quality-levels.min.js Add http-source-selector 2019-04-28 10:05:15 -05:00
videojs-http-source-selector.min.js Update videojs-http-source-selector 2019-08-09 10:36:41 -05:00
videojs-markers.min.js Host assets locally 2018-09-06 09:59:17 -05:00
videojs-overlay.min.js Add title overlay to embedded videos 2019-06-08 10:52:47 -05:00
videojs-share.min.js Update videojs-share 2019-04-24 08:48:34 -05:00
videojs-vtt-thumbnails.min.js Update videojs-vtt-thumbnails version 2019-05-27 20:55:34 -05:00
videojs-youtube-annotations.min.js Update source and licenses 2019-05-01 07:40:18 -05:00
watch.js js: add support for keydown events (#678) 2019-08-16 16:01:14 -05:00
watched_widget.js Shorten timeout for AJAX 2019-06-16 12:55:17 -05:00