iframe in iOS

Q&A about the latest versions
Post Reply
Intervideo
Posts: 8
Joined: Fri Nov 23, 2018 5:59 pm

Hi,

I have a hotspot to display a PDF using an iframe with the description:

Code: Select all

<iframe width="100%" height="100%" src="Farm_Management.pdf" frameborder="0"></iframe>
I've read this solution somewhere here in the forum, to have PDFs showing up in the pano itself.
This works great, but not on iOS. Is there a way to make it work?

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

Hi,
You can stack iframe's, Tony Readhead has a tutorial on this.
In fact I would say check out his website: LINK.

This said what I would do is set a logic block so if OS = iOS then open a new page, so not using an iframe.
Why I would do this is because at some point stacking frames may well brake as its bit of a workaround.

The ht_url component already has this set, just add the component and change the icons.
Then in the Skin Configuration button set to open in player.
This will open the PDF in the player but open a new window/tab for iOS.
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/
Intervideo
Posts: 8
Joined: Fri Nov 23, 2018 5:59 pm

Hi Hopki,

thank you very much! I totally overlooked the iOS logic block. I used the ht_url component and it works.

Cheers!
Post Reply