object2vr inside iframe object2vr fullscreen

Q&A about the latest versions
Post Reply
Owen ki
Posts: 20
Joined: Mon Aug 21, 2023 9:46 am

Hi,

I use object2vr 3.1.10 .
and I try to get an iframe-object2vr popup into object2vr html
but the problem is that iframe-object2vr (there's a fullscreen button) won't turn to fullscreen if I start with fullscreen-object2vr
some help plz..
User avatar
Hopki
Gnome
Posts: 13029
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
If you want the HTML page to show the object filling the HTML page then you need to go to the HTML tab in the HTML5 output settings.
Select Fullscreen.

This is not fullscreen as you would know it but rather a full "viewport", so fills the HTML page rather than give you a small window which is the standard setting.
Regards,
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/
Owen ki
Posts: 20
Joined: Mon Aug 21, 2023 9:46 am

Hi,

thanks for your posting.
but both of them selected full screen and,
The problem is that when you start a total project with a full screen, the full screen button within the pop-up project doesn't work.


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

Ahh, okay then it's probably your iframe, it needs the fullscreen attribute, for example:

Code: Select all

<iframe src='https://yoururl.com/projects/index.html' frameborder='0' width='640' height='480' allow='accelerometer; magnetometer; gyroscope; fullscreen; autoplay; clipboard-write; encrypted-media; xr-spatial-tracking; gamepad;' allowfullscreen></iframe>
Note "allowfullscreen".
Regards,
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/
Owen ki
Posts: 20
Joined: Mon Aug 21, 2023 9:46 am

It doesn't work :(

can you share some project as an example ?
User avatar
Hopki
Gnome
Posts: 13029
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Can you post a link to your project, we may be able to see what is going on by looking at the browser error console.
But here is a test that opens an iframe_index.html page which has an iframe linking to a project that is in the gnome cloud.
https://support.ggno.me/iframe_index.html
In the Panos UI select the right menu which has the fullscreen button.
Regards,
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/
Post Reply