Back Button

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
Walrus
Posts: 3
Joined: Sun May 19, 2013 12:05 pm

I have used Pano2VR for a couple of years, but only recently started using the player, and am new to this forum. I would like to implement a "back" button onto the player skin so that a user can exit the panorama while in full-screen mode and return to the page from which he/she initiated the pano, all in one click. As is, one must first exit full-screen mode and then use the browser's back button. But the skin editor actions only give Go To URL as an option which is too specific. On my site, users might access the pano from different pages, and I want the ability to return to that page. Is there a way to do this, or a work-around?
User avatar
Hopki
Gnome
Posts: 13029
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
Please see this post: http://gardengnomesoftware.com/forum/vi ... ton#p31545
I think just adding a java close button would then return the viewer back to the web page.
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/
Walrus
Posts: 3
Joined: Sun May 19, 2013 12:05 pm

Thank you. I didn't realize you could make a javascript call from that field. I had implemented the same function manually by editing the skin.js file, but I really didn't like that solution. This fits the bill.

However, this works fine for HTML5 output, but I can't get the function to work with flash. I usually set flash as preferred, and HTML5 as fall-back. I'm using the same skin file (.ggsk) for both. Got any ideas here?
User avatar
Hopki
Gnome
Posts: 13029
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
This is working in Flash for me?
I am testing with Safari and opening through Pano2VR, if you open the HTML locally then the flash security restrictions will prevent this from working.
Once uploaded it should also work ok.
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/
Walrus
Posts: 3
Joined: Sun May 19, 2013 12:05 pm

Oops.
You are quite right.
Thanks.
Post Reply