iframe in iOS

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

iframe in iOS

Post by Intervideo » Thu Jan 17, 2019 12:37 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: 9082
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: iframe in iOS

Post by Hopki » Thu Jan 17, 2019 12:45 pm

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

Intervideo
Posts: 8
Joined: Fri Nov 23, 2018 5:59 pm

Re: iframe in iOS

Post by Intervideo » Fri Jan 18, 2019 10:38 am

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

Who is online

Users browsing this forum: No registered users and 11 guests