Closed CodersBrothers closed 10 years ago
https://github.com/sindresorhus/screenfull.js#request
Keep in mind that the browser will only enter fullscreen when initiated by user events like click, touch, key.
This is a security measure in the browser itself. Nothing can be done about it.
Sorry, i missed, thanks
Im a little confused. Why i can't call directly 'screenfull.request()'??
For example: If you go to example page of plugin in http://sindresorhus.com/screenfull.js/ and put in console
Nothing happens....
But if you create a trigger, for examplo for all body like:
thats works. Seems work only with a events.... Why? I need work without events, like: onready -> open fullscreen.
Whats Happens?