Page 1 of 1

object2vr inside iframe object2vr fullscreen

Posted: Tue Oct 24, 2023 11:24 am
by Owen ki
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..

Re: object2vr inside iframe object2vr fullscreen

Posted: Tue Oct 24, 2023 11:54 am
by Hopki
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,

Re: object2vr inside iframe object2vr fullscreen

Posted: Wed Oct 25, 2023 2:42 am
by Owen ki
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

Re: object2vr inside iframe object2vr fullscreen

Posted: Thu Oct 26, 2023 3:57 pm
by Hopki
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,

Re: object2vr inside iframe object2vr fullscreen

Posted: Fri Oct 27, 2023 2:56 am
by Owen ki
It doesn't work :(

can you share some project as an example ?

Re: object2vr inside iframe object2vr fullscreen

Posted: Fri Oct 27, 2023 3:12 pm
by Hopki
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,