Is automatic full-screen work with html5 possible?

I rely on using the full-screen API in web browsers (http://hacks.mozilla.org/2012/01/using-the-fullscreen-api-in-web-browsers) for full-screen viewing, but only works with a click event or with console firebug, not with event dispatch or mouse pointer or similar for automatic. Is automatic full-screen mode with html5 possible without a click event or similar?

Edit: I understand the reasons for security and availability, if this is not possible, but in some environments this can be encouraging.

+7
source share
2 answers

No, this is not possible - for security reasons, access to full-screen viewing requires the "permission" of the user and is therefore tied to browser login events.

+16
source

No, It is Immpossible. requestFullScreen() should be called by a direct user action (for example, by clicking) for security reasons. This is the same as popups.

Read the https://wiki.mozilla.org/Security/Reviews/Firefox10/CodeEditor/FullScreenAPI and possibly https://wiki.mozilla.org/Gecko:FullScreenAPI for reference.

+2
source

All Articles