Youtube player keyboard controls

Use play/pause/ArrowRight/ArrowLeft keyboard btns anywhere, but not only when youtube player is in focus. Additionaly use '[' and ']' keys to change playbackRate.

Author
Егор Николаев
Daily installs
0
Total installs
197
Ratings
5 0 1
Version
0.13
Created
2018-03-10
Updated
2020-06-23
License
MIT
Applies to
// set config.defaultPlaybackRate to your preferred youtube PlaybackRate (1.5 by default).
config.defaultPlaybackRate = 1.5;
// Some custom styles to Youtube, including hiding search bar (It will appear by mouse hover).
config.customStyles = false;
// Boost Youtube Dark Theme, including opacity for bottom content in theater player mode.
config.customStylesDarkTheme = false;
// If config.customStylesDarkTheme == true, opacity for bottom content in theater player mode.
// Set it to 0, to hide bottom content in theater player mode. It will appear on mouse hover.
config.customStylesDarkTheme_bottomContentOpacity = 0.1;