html5 - jQuery: Open/request Fullscreen browser on load? -


i have page div #container have go full screen mode (or @ least request go full screen mode) on supported browsers.

i downloaded this plugin

and although example show using button enter fullscreen, i'd on load. tried:

$(window).load(function() {         if($.support.fullscreen){             $('#container').fullscreen();         }     }); 

it passes support test (chrome 28) nothing happens. missing?

it seem, after further research, fullscreen api can only activated via user interaction security reasons. if knows otherwise, please feel free post.


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -