YouTube hotkeys issues in FireFox
YouTube video player hotkeys react even when video is out of focus. I can't write a comment under the video on YouTube, because when I type, the hotkeys for the video are triggered. I immediately tested this problem on other devices - it's the same there. At the same time, this problem is not observed in other browsers (Chrome).
FireFox v 86.0, Windows 10.
所有回覆 (3)
Looks like a YouTube bug where JavaScript always interprets a space bar press as play/pause and doesn't disable this action when an input field has focus.
See also:
- /questions/1328819 Youtube search bar issues
A possible workaround for now is to place this character on the clipboard (i.e. type a space and select it and copy the space to the clipboard) and paste the clipboard content. You can possibly use the location bar to get the space on the clipboard.
cor-el said
Looks like a YouTube bug where JavaScript always interprets a space bar press as play/pause and doesn't disable this action when an input field has focus. See also:A possible workaround for now is to place this character on the clipboard (i.e. type a space and select it and copy the space to the clipboard) and paste the clipboard content. You can possibly use the location bar to get the space on the clipboard.
- /questions/1328819 Youtube search bar issues
Yes, the error is similar. But reacts not only to the spacebar, it reacts to all hotkeys: F, E, M, etc. And only in FireFox. This problem is not observed in other browsers.
Hi
Thank you for flagging up this issue.
YouTube have looked into this and will be correcting the issue shortly.