Youtube player control keys FIX

Fix player controls Space, Left, Right, Up, Down to behave consistently after page load or clicking individual controls. Not focusing the mute button anymore.

2018-02-18 يوللانغان نەشرى. ئەڭ يېڭى نەشرىنى كۆرۈش.

ئاپتورى
Calciferz
باھا نومۇرى
0 0 0
نەشرى
1.0
قۇرۇلغان ۋاقتى
2018-02-18
يېڭىلانغان ۋاقتى
2018-02-18
Size
2.3 KB
ئىجازەتنامىسى
MIT
قوللايدىغىنى

Youtube player controls will work consistently after page load and after clicking controls:

  • Space (play/pause), F (fullscreen), M (mute), Left (jump backwards), Right (jump forwards), Up (volume up), Down (volume down)

Click outside movie frame to get standard page controls: Space (page down), Up, Down, Left, Right (scroll)

Fixes the following awkward behaviour of Youtube player controls after clicking them (making the individual control focused):

  • after clicking the mute button Space toggles mute instead of pausing
  • after clicking the volume slider Left-Right will change the volume instead of stepping the video.
  • after clicking subtitle button Space will toggle subtitles
  • after clicking settings button Space will toggle settings