Can Pano2VR 5 use iframes to display embedded content?

Q&A about the latest versions
Post Reply
pegot
Posts: 19
Joined: Mon Oct 14, 2013 3:35 pm

All the tutorials I see for placing content into an iframe are for version 6 and up. Does version 5 support this feature?
User avatar
Hopki
Gnome
Posts: 13026
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Yes, the text box should support iframes.
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/
pegot
Posts: 19
Joined: Mon Oct 14, 2013 3:35 pm

Thanks. I got that to work but I'm having trouble setting it up as a kind of button to only show on a mouse click. I can disable the iframe with a mouse leave action. But how would I set up an iframe to only show on click of a button (hotspot)?

-------
- NEVER MIND - figured it out.
User avatar
Hopki
Gnome
Posts: 13026
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi pegot,
The thing to remember is if the text box has an iframe it will load the contents of the iframe along with the panorama and skin.
So the better thing to do is to add the iframe when you show the text box, so when needed.
To do this use a Mouse Click, Set Value action targeting the text box.
The value would be the iframe.

Inversely you would use a Set Value action with the value being left blank when you close the text box.
This unloads the iframe from the text box.

It is more important if the iframe content has sound, hiding the text box does not stop the sound so unloading the iframe stops it from playing.
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