Fix player controls Space, Left, Right, Up, Down to behave consistently after page load or clicking individual controls. Not focusing the mute button anymore.
当前为
Player is focused right after pageload, no need to click in player frame. Click outside player frame to get standard page controls: Up, Down, Left, Right (scroll) Press Esc to focus player, Shift-Esc to cycle search box, video list, like buttons / comments. Space pauses video on the whole webpage except textboxes.
Youtube player controls will work consistently when player is focused:
Global shortcuts:
Fixes the following awkward behaviour of Youtube player controls after clicking them (making the individual control focused):
Sources of youtube shortcut behaviour: https://shortcutworld.com/Youtube-Player/win/Youtube-Player_Shortcuts https://www.hongkiat.com/blog/useful-youtube-keyboard-shortcuts-to-know/ https://support.google.com/youtube/answer/7631406?hl=en 2010: flash player? https://www.makeuseof.com/tag/comprehensive-guide-youtube-player-keyboard-shortcuts/