top | item 3234436

Full-screen API available in Firefox nightly

40 points| sunsu | 14 years ago |arstechnica.com | reply

15 comments

order
[+] jimrandomh|14 years ago|reply
There is a serious problem in this proposal: they want to disallow all keys not on a whitelist, and that whitelist does not include letters. Which would mean no WASD movement. While the intent is good (prevent phishing), I think a better solution is still needed.
[+] jimrandomh|14 years ago|reply
Actually, scratch that - there's a way for apps to request letter keys in full-screen mode, which just imposes additional confirmation.
[+] archivator|14 years ago|reply
Chrome has this and I truly and completely hate the way Youtube uses it. The only reason I switched to HTML5 video on YT was the fact that it resized to the browser window, therefore not wasting massive amounts of screen estate on my 24" monitor. The way I'd use it was to have the video on 2/3 of the screen and Vim on the other 1/3.

Alas, those days are gone, unless I figure out a way to override requestFullscreen to always return false.

[+] msujaws|14 years ago|reply
If you want to disable it in Firefox, you can go to about:config and set the pref for full-screen-api.enabled to false.

I'm not sure if Chrome has a similar way to disable the feature.

[+] vog|14 years ago|reply
What's wrong with asking the user to press F11? After all, the browser should be under the control of the user, instead of the other way around.
[+] eCa|14 years ago|reply
> A Web application can’t arbitrarily make an element fullscreen without user intervention—the operation has to be initiated by a user action.

As the article says, the intent is mostly to offer similar functionality as e.g. Youtube's fullscreen mode. It's much simpler/cleaner to ask ordinary users to click a button on the screen (that is a part of your own interface) than to ask them to press F11. Also, F11-fullscreen doesn't stretch elements as this does:

> It allows Web applications to toggle the browser into full-screen mode and stretch a single page element so that it fills the user’s display.

[+] trafficlight|14 years ago|reply
I've been working on a digital signage project and I'm using Chrome's fullscreen kiosk mode for the actual presentation.
[+] brlewis|14 years ago|reply
When will Mobile Safari support it?
[+] drivebyacct2|14 years ago|reply
I hate that Chrome has modified the fullscreen support so that it is no longer possible to have "fullscreen", mean "fullwindow" mode. It was my absolute favorite. Tiling WM or even manual, along with "fullwindow" mode was the best of all worlds. You were an F11 away from fullscreen, but had the flexibility of having just the video in a window to do with what you pleased.
[+] colanderman|14 years ago|reply
Opera still has this feature. I use it all the time with wmii.