You are not logged in.

Dear visitor, welcome to Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

  • "tksharpless" started this thread

Posts: 71

Location: Philadelphia, Pennsylvania

Occupation: Retired S/W engineer

  • Send private message


Monday, March 10th 2014, 4:03am

Initial fullscreen possible?

For a kiosk displaying a slideshow, I would like to have all panos start (and remain) in fullscreen.
But just putting "set(fullscreen, true);" in setuppano() does not work "due to a Flash security limitation" -- even though the player is in HTML5 mode, on Chrome browser.
Is there a way to get what I want?



Posts: 174

Location: Ukraine

  • Send private message


Monday, March 10th 2014, 7:10am

when automatically starting in fullscreen is not possible: idle, startup(), events onxmlcomplete and other, onloaded, etc.
That means, start manually should be works after touch, clicks and other actions by user side only!
Try this, set fullscreen when you do first click in panorama:

Source code

<events onclick="if(device.fullscreensupport, set(fullscreen, true); );"  />	

See documentation:


Note - there is a Flashplayer security limitation - switching to fullscreen mode is only possible as reaction of an user input like a mouse click or a keypress! That means you can only switch to fullscreen mode in a onclick or onkeydown event.

Good luck! ;-)