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.

作者
Егор Николаев
日安装量
0
总安装量
208
评分
4 1 1
版本
0.13
创建于
2018-03-10
更新于
2020-06-23
大小
37.0 KB
许可证
MIT
适用于
// 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;