Detecting devices …..

Q&A about the latest versions
Post Reply
JWarren
Posts: 4
Joined: Thu Nov 13, 2014 4:00 pm

Does anybody have the required code to detect which device the viewer is using so the correct file can be displayed?

Not sure if I am making sense here. When I create an object vr (HTML5) at say 640 x 480 and I view this in a web browser, all is good as expected. If I then view this same web page on my iPhone 4, the object is displayed too large for the device's screen. So I created a duplicate web page with a different name and changed the size to 320 x 240 and now that displays nicely on my iPhone 4.

Is there any code to detect the device the viewer is using and then send the appropriate web page or downsized version of the object vr to that viewer's device?

If it is done within the Object2VR software, could someone take me to a tutorial that explains the process.

I have noticed that there is a multi resolution tab - is this my answer?

Thanks,
John
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi John,
Select the Fullscreen option in the HTML5's HTML tab.
The HTML page will resize to fit the screen.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
JWarren
Posts: 4
Joined: Thu Nov 13, 2014 4:00 pm

Thanks.
Post Reply