Fullscreen-Button in simplex_v6 without function in Firefox

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
Steel
Posts: 37
Joined: Wed Sep 08, 2010 5:13 pm
Location: Germany
Contact:

Wed May 12, 2021 1:33 pm

I recognize a strange behaviour in Firefox (88.0.1). I have two tours with the simplex_v6 skin. On the webserver, the tours are in seperate folders, "out1" and "out2". When I open the tour directly in the browser, the fullscreen-button of the skin works as expected. But when I use the polygon-url-hotspot in the first tour to open the other tour, the fullscreen-button in the opened tour is malfunctioning.
I tested in Edge and Chrome, there it works, only in Firefox it works not. The only workaround I found is to use the _blank option. But that leads to multiple tabs when moving from tour to tour.

Best regards and thank you for your feedback!
User avatar
Hopki
Gnome
Posts: 11511
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Wed May 12, 2021 6:09 pm

Hi,
This could be more than one thing so rather than keep asking questions if you post a link it may help to get to the answer sooner.
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/
Steel
Posts: 37
Joined: Wed Sep 08, 2010 5:13 pm
Location: Germany
Contact:

Mon May 17, 2021 6:36 pm

Hi Hopki!

you can find the project files here: https://www.dropbox.com/s/wbc2v4m1ihkmr ... t.zip?dl=0
and have a look at the output here: https://virtueller-messestand.de/fileadmin/test2/out2/

There is one url-poly-hotspot that links from out2 to ../out1 and then, after clicking this link, the fullscreen-button in out1 does not work any more.

Can you confirm the behaviour?

Best regards!
User avatar
Hopki
Gnome
Posts: 11511
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Tue May 18, 2021 5:30 pm

Hi,
The Polygon Hotspots were not set up correctly.

The URL needed to be

Code: Select all

../out2/index.html
and

Code: Select all

../out1/index.html
And the Target needed to be _self.
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/
Steel
Posts: 37
Joined: Wed Sep 08, 2010 5:13 pm
Location: Germany
Contact:

Wed May 19, 2021 3:06 pm

Hello Hopki,
I changed the URL, though it does not make sense to me. The webserver automatically resolves to the index.html already. I also tried all target-options already in the first try and checked it again with target _self. But the Fullscreen-Button does not work after changing from one tour to the other. I will record a short screencast to show the behavoir.

Best regards!
Steel
Posts: 37
Joined: Wed Sep 08, 2010 5:13 pm
Location: Germany
Contact:

Wed May 19, 2021 3:16 pm

You can find a short video that shows the behaviour here:
https://www.dropbox.com/s/imzwhfz12hx8z ... 4.mp4?dl=0
Steel
Posts: 37
Joined: Wed Sep 08, 2010 5:13 pm
Location: Germany
Contact:

Thu May 27, 2021 11:26 am

Hello Hopki,

can you reproduce the problem, or is it only happening in my testcase? I need to make a decission whether I can trust on linking between tours or have to put everything into one huge tour.

Best regards!
User avatar
Hopki
Gnome
Posts: 11511
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Thu May 27, 2021 1:44 pm

Hi Steel,
Please find attached a working project, the test link can be found here: https://support.ggno.me/forum_projects/steel/out1
This link is pointing to the XML file rather than the HTML page.

The Polygon Hotspots are pointing to ../out1/pano.xml and ../out2/pano.xml.
What this does is mean you have only one HTML page so you can go fullscreen in out1, and when changing nodes to out2, it will not reset the window.
Also, both outputs can use the skin from out1.

In this link: https://support.ggno.me/forum_projects/steel/out11
I am linking to the HTML page, so the hotspots use, ../out1/index.html and ../out2/index.html

As you are loading new HTML pages, if you are in fullscreen in out1, then as soon as you click the Polygon Hotspot the page will exit fullscreen as it loads a new HTML page.
But in both my examples you can enter fullscreen using Firefox.
Also as you are opening a different project, both need to have their own skin.

Also as an FYI you can modify the XML file name or HTML file name and have all the files in one folder.
For reference please see: https://ggnome.com/doc/hotspots-link-pano/
Regards,
Attachments
steel.zip
(26.9 KiB) Downloaded 9 times
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/
Steel
Posts: 37
Joined: Wed Sep 08, 2010 5:13 pm
Location: Germany
Contact:

Tue Jun 01, 2021 2:06 pm

Hello Hopki!
Thank you very much for your demonstration and testing. Unfortunately, your demo
Hopki wrote:
Thu May 27, 2021 1:44 pm
In this link: https://support.ggno.me/forum_projects/steel/out11
shows exactly the bug I try to solve, at least on my system. Please see this short screencast which shows that the fullscreen-button is out of function in your demo. So it must be something browser/system-specific I guess?

https://www.dropbox.com/s/h3q7u86tntfkw ... 1.mp4?dl=0


Best regards!
User avatar
Hopki
Gnome
Posts: 11511
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Tue Jun 01, 2021 10:35 pm

Hi,
Yes, Firefox is the issue here.
The attached project has both p2vr files in the same folder.
Under the HTML5 output Advanced tab you will see the multiresolution naming convention has been changed and the XML file name has been changed to node1.xml and node2.xml.
Also for the second project, the HTML file has been deselected as this project only uses one HTML page.
Also, the opening node is the one with the skin.
Again this is the link that explains all this: https://ggnome.com/doc/hotspots-link-pano/
Regards,
Attachments
steel2.zip
(24.24 KiB) Downloaded 10 times
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/
Steel
Posts: 37
Joined: Wed Sep 08, 2010 5:13 pm
Location: Germany
Contact:

Wed Jun 02, 2021 1:33 pm

Hello Hopki!
Thank you for all your input and support. I dont want to needle you with this topic! But I am still struggling and dont know how to finally set up my projects.
Your suggestion is leading to more problems, or lets say it makes it harder to organize the projects. Because this is my usecase: I have 5 independent tours. Each of them has up to 100 nodes. Each tour might need individual settings for hotspots (look and behaviour), individual default-settings for transitions, a tag-based cloner-menu etc. The tours should be managed and update independently and possibly have specialized skins with different components.

So my idea was to just set a link between these tours by using the url-poly-hotspot, to give the visitor the possibility to change from one tour to another (without using an intermediate html page as a hub).
Like this, the visitor can navigate to any other url outside the tour, right? In my case, the outside url is just another, independent tour. That works almost fine, only (afaik) the fullscreen-button doesnt work in Firefox as described and shown, after one jump from tour to tour. (I modified the name of the xml-file in my tours to be individual and changed the nameing conversion for the images accordingly just to be sure that it does not help.)

I see this message in the console:
mozRequestFullScreen() should not be used any more
Uncaught (in promise) TypeError: Fullscreen request denied

I will try find a solution with an intermediate html page, that will be the target url of the poly hotspot and that will forward to the next tour. Maybe that is the best way to deal with it. Or what do you think?

Best regards and thank you for your engagement!
Steel
Posts: 37
Joined: Wed Sep 08, 2010 5:13 pm
Location: Germany
Contact:

Wed Jun 02, 2021 2:58 pm

Well... even the intermediate html is no solution. :? I tested this and set up a poly-hotspot with an url-link to a simple html page. So in the browser I see the html page in the same tab where I saw the tour 1 before.

Code: Select all

<html>
  <head>
  </head>
  <body>
    <h1>TEST</h1>
    <a href="out2">Tour 2</a>
  </body>
</html>
When I click the link, the tour 2 starts as expected, but the fullscreen button does not work. I need to popup a new tab by using

Code: Select all

<a target="_blank" href="out2">Tour 2</a>
instead of

Code: Select all

<a href="out2">Tour 2</a>
to have the fullscreen button working. :(
Post Reply