Live data from Hacker News

Ask HN: Is Your Spacebar Working on YouTube?

news.ycombinator.com

41–50 of 51 posts

Re: Ask HN: Is Your Spacebar Working on YouTube?

#43
post #23

Space bar is hilarious for me on YouTube/Firefox. Some times it gets into a certain focus state (play button focussed?) and hitting space bar will briefly pause it, then resume playback. Hilarity ensues as I scramble, pausing a few times to realize the issue, and change the focus to something else by clicking the video canvas then press spacebar again for success.

It's disconcerting when you press the spacebar and the video doesn't pause, but the video settings open... until you remember you went to settings to look for subtitles, but there were none, and you closed it without changing the focus to the page or video.

It happens with other video sites, so it's not evil Google handicapping Firefox users.

Re: Ask HN: Is Your Spacebar Working on YouTube?

#44

Earlier quoted context omitted.

There is indeed more. And there is one hotkey to rule them all, pressing "?" which shows all hotkeys. "?" is one hotkey I keep pressing in a lot of random contexts, just to see what it does. In many applications it shows all the hotkeys, or if you add some modifier like shift or alt.

How are you pressing '?' without shift already being applied?

I don't normally use en-US locale? Not everyone has the same keyboard layout.

Re: Ask HN: Is Your Spacebar Working on YouTube?

#46

Earlier quoted context omitted.

Apparently ? is the new F1

F1 is now occupied by the native applications help page. Web applications/pages then need to adopt a different one. "?" kind of also make the UX a bit more obvious, honestly. F1 is based around tradition, "?" is based on the idea that you have no idea.

Just to tangent off this and announce my surprise at the existence of a ToDoList key: XF86TodoList

https://wiki.linuxquestions.org/wiki/XF86_keyboard_symbols

Re: Ask HN: Is Your Spacebar Working on YouTube?

#47
Related question: what precisely does do? (I realize it acts like a typical terminal pager like `more` or `less`; I mean, what is the mechanism?)

For example, look at https://nodejs.org/dist/latest-v12.x/docs/api/

It's visible content is all in a `div` with id `content`, which in turn contains two `div` s with ids `column2` and `column1`.

On a suitably small window, pressing causes the `div` `column1` to scroll, but what if I want to move the "focus" to `column2`?

[I realize this is somewhat tangential, but any pointers to a better place to find info about this would be greatly appreciated.]

Re: Ask HN: Is Your Spacebar Working on YouTube?

#49

Earlier quoted context omitted.

F1 is now occupied by the native applications help page. Web applications/pages then need to adopt a different one. "?" kind of also make the UX a bit more obvious, honestly. F1 is based around tradition, "?" is based on the idea that you have no idea.

Just to tangent off this and announce my surprise at the existence of a ToDoList key: XF86TodoList https://wiki.linuxquestions.org/wiki/XF86_keyboard_symbols

See `/usr/include/X11/XF86keysym.h` lines 52, 55 (https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/blob/m...):

    /* These are sometimes found on PDA's (e.g. Palm, PocketPC or elsewhere)   */
    #define XF86XK_ToDoList  0x1008FF1F   /* Invoke To Do List program  */

Re: Ask HN: Is Your Spacebar Working on YouTube?

#50
post #3

Three users submitted that to HN in the last 15 minutes, seems to be tracked at https://bugzilla.mozilla.org/show_bug.cgi?id=1697551

I imagine it has something to do with the keyboard shortcuts for video player controls, which I'm going to list because I think they're neat and was very excited when I discovered them. space - play/pause j - skip back k - play/pause l - skip forward 0-9 - skip to the n/10th point of the video m - mute f - fullscreen t - "theater mode" which is the bigger-but-not-full-screen video size I'm sure there are others, but…

> I'm sure there are others

; : for playback speed

More features and short-cuts via browser extension:

https://www.mrfdev.com/enhancer-for-youtube

Post reply on HN