You are not logged in.

  • "tksharpless" started this thread

Posts: 68

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! ;-)