Kiosk Mode

Permalink
Can I activate Kiosk Mode (without any browser elements like tabs, adressbar etc.) from within Concrete5? Either programmatically or with a button?
I know Chrome has a --Kiosk Flag, but I don't know how to access it. It should work on all browsers.

Anybody tried that?

blinkdesign
 
JohntheFish replied on at Permalink Best Answer Reply
JohntheFish
Browsers should have a full screen API.
https://developer.mozilla.org/en-US/docs/Web/API/Fullscreen_API...

Its a JavaScript API. You can't enforce it - it will ask users for permission and users will always be able to exit from it.

To implement, you will need to add some JavaScript.
blinkdesign replied on at Permalink Reply
blinkdesign
Thank you John,
It's working, but only on single pages. When another page is clicked, it switches back and fullscreen needs to toggled again. I tried "onLoad" without success. Cannot find any information if that's possible, - or, maybe that's by nature?
JohntheFish replied on at Permalink Reply
JohntheFish
That behaviour is to prevent disreputable sites from hijacking your browser.
The only way round it is to stay in page and AJAX the content. It may also work if you run the entire site inside an iFrame.
blinkdesign replied on at Permalink Reply
blinkdesign
John, as always, thanks for your brilliant hint for the iframe. I guess I have to rethink my concept. The Site should work as a website including the possibility to present the contents to a large audience via beamer.
blinkdesign replied on at Permalink Reply
blinkdesign
iframe runs smoothly with fullscreen in safari & chrome.
Firefox exits when navigating pages inside the iframe.
x-frame override options in config/concrete.php properly set.
Any ideas?