invidious/assets
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
..
.well-known Fix whitespace in dnt-policy.txt 2018-11-10 07:54:13 -06:00
css Change font family to better native selection (#679) 2019-08-16 15:59:05 -05:00
fonts Host assets locally 2018-09-06 09:59:17 -05:00
js js: add support for keydown events (#678) 2019-08-16 16:01:14 -05:00
android-chrome-192x192.png image size losslessly reduced with FileOptimizer 2018-11-12 22:59:39 -06:00
android-chrome-512x512.png image size losslessly reduced with FileOptimizer 2018-11-12 22:59:39 -06:00
apple-touch-icon.png image size losslessly reduced with FileOptimizer 2018-11-12 22:59:39 -06:00
browserconfig.xml Add favicon 2018-11-08 15:58:10 -06:00
favicon-16x16.png image size losslessly reduced with FileOptimizer 2018-11-12 22:59:39 -06:00
favicon-32x32.png image size losslessly reduced with FileOptimizer 2018-11-12 22:59:39 -06:00
favicon.ico Add favicon 2018-11-08 15:58:10 -06:00
mstile-150x150.png image size losslessly reduced with FileOptimizer 2018-11-12 22:59:39 -06:00
robots.txt Revert "Update robots.txt" 2018-11-08 00:41:03 -06:00
safari-pinned-tab.svg Add favicon 2018-11-08 15:58:10 -06:00
site.webmanifest Add favicon 2018-11-08 15:58:10 -06:00