Page 1 of 1

HTML5 FullScreen

Posted: Thu Dec 04, 2014 6:14 pm
by DamianS
How do I get the HTML5 client to run in full screen? The address bar from the browser is taking up valuable real estate..

Re: HTML5 FullScreen

Posted: Tue Dec 16, 2014 2:35 pm
by admin
Hello,

You can change resolution for mobile devices, locate in html5.html the line :

meta name="viewport" content="width=1024, maximum-scale=1.4

and change it to a bigger value, like 1280 instead 1024, as example.
Remember, this will only affect mobile devices resolution.
INFORMATION NOT ACTUAL

Re: HTML5 FullScreen

Posted: Thu May 04, 2017 5:01 am
by BrunoB
Hi,

I have tried the viewport customization you mentioned but I am not getting the desired result:

1. First I have used both width and height: <meta name="viewport" content="width=1280, height=1024, maximum-scale=1.4">

2. I dont see any difference when logging in from the iPad. I was expecting the real-estate my app has to open in to be larger (maybe I am missing something about the true viewport behavior)

3. After I log-off, the html5.html file is overwritten to the original content!

Can you help clarify what I am doing wrong?

Thanks,

Bruno.

Re: HTML5 FullScreen

Posted: Thu May 04, 2017 7:17 am
by juwagn
Hello,

the information is from 2014 and not anymore actual, therefore html5.html should never be tampered.
For reusing fullscreen on PC edit settings.js > W.full_screen = 2;
Fullscreen will not be supported on mobile devices due many breaking control limitations.

For changing viewport you should change settings.js > W.viewportwidth = "1024";
(height gets computed automatically by browser, viewport is mobile only setting)

additionally but not necessary you may set minimum width/height (mobile only)
W.viewportminheight = "200";
W.viewportminwidth = "200";
if resulting width/height will be higher than W.viewportwidth/coputed_height then the sceeen will overflow on relevant side.