Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What's wrong with [spacebar] key
#1
Rainbow 
Specifically on YouTube , the spacebar no longer scroll down, the video takes over the shortcuts, even when I click away of it, also I noticed that with other web sites  Huh
Reply
#2
Not quite understand, isn't it used to toggle play/pause state of the video?
Reply
#3
Usually depends on whether or not the video has focus, meaning it's the last element clicked. Youtube, however, appears to have recently changed their JS to override regular shortcuts in favor of always applying them to videos, focused or not. It isn't the browser's fault though.

When Google/Youtube unilaterally decide what standards they want to ignore or redefine, it typically doesn't take long for other sites to do the same. Most users probably prefer it, because if we know one thing, it's that Google has plenty of analytics for all decisions like this. You could always make a userscript to override their override.
Reply
#4
OK, thanks for the info.
Generally, the website itself always has priority to handle shortcuts.
Reply
#5
(08-27-2018, 02:31 AM)papadoc Wrote: Usually depends on whether or not the video has focus, meaning it's the last element clicked. Youtube, however, appears to have recently changed their JS to override regular shortcuts in favor of always applying them to videos, focused or not. It isn't the browser's fault though.

When Google/Youtube unilaterally decide what standards they want to ignore or redefine, it typically doesn't take long for other sites to do the same. Most users probably prefer it, because if we know one thing, it's that Google has plenty of analytics for all decisions like this. You could always make a userscript to override their override.

On YT it's frustrating when I'm trying to reach the comments by pressing spacebar instead it pauses the video, I click on the page away of the html5 video holder, still the same shit happens, I hope Cent add in the future an option to override keyboards shortcuts.
Reply
#6
(08-30-2018, 04:18 PM)sx1sajor Wrote: On YT it's frustrating when I'm trying to reach the comments by pressing spacebar instead it pauses the video, I click on the page away of the html5 video holder, still the same shit happens, I hope Cent add in the future an option to override keyboards shortcuts.

This may require special handling for youtube.com
You can use PageDown key or mouse gesture currently.
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)