richtr / html-media-focus

[DEPRECATED] Connecting remote control interfaces and events with web content
4 stars 1 forks source link

"focusable" is a very broad name, already kinda taken #2

Closed tabatkins closed 9 years ago

tabatkins commented 9 years ago

The concept of "focusable" is already taken by, well, focus. Normal focus. Adding an attribute called "focusable" that refers only to media focus would be extremely confusing, and get misused everywhere by people who think it's a better way to spell tabindex=0.

Should use a different, more descriptive name, like mediafocus or something.

richtr commented 9 years ago

Yep. Totally agree with this. FWIW, it started off being called queued. Naming is clearly not my forté :)

If vid.mediaFocus === true then that could also be a little confusing though. I'm actually requesting media focus. This name suggests I'm currently holding media focus which may or may not be true.

It's more of a request to obtain media focus than an indicator that an element currently holds media focus.

So something like mediaFocusable instead?

richtr commented 9 years ago

We could also call it remoteControls or syncPlayback.

tabatkins commented 9 years ago

Dunno what syncPlayback would mean in this context, but remoteControls sounds kinda good.

richtr commented 9 years ago

remoteControls it is (for now)!