HTML5 FullScreen

Share your TSPlus experience ad feedback on mobile platforms using our state of the art HTML5 RDP client!
Post Reply
User avatar
DamianS
Posts: 16
Joined: Tue Sep 03, 2013 7:49 pm
Contact:

HTML5 FullScreen

Post by DamianS » Thu Dec 04, 2014 6:14 pm

How do I get the HTML5 client to run in full screen? The address bar from the browser is taking up valuable real estate..
Damian C. Stalls
Senior IT Engineer

Image

User avatar
admin
Site Admin
Posts: 1614
Joined: Wed Sep 05, 2012 6:38 am

Re: HTML5 FullScreen

Post by admin » Tue Dec 16, 2014 2:35 pm

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
Olivier
TSplus support team administrator
Image

BrunoB
Posts: 1
Joined: Thu May 04, 2017 4:52 am

Re: HTML5 FullScreen

Post by BrunoB » Thu May 04, 2017 5:01 am

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.

juwagn
Site Admin
Posts: 231
Joined: Wed Oct 15, 2014 8:25 pm

Re: HTML5 FullScreen

Post by juwagn » Thu May 04, 2017 7:17 am

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.
TSplus HTML5 and Java web engineer

Post Reply