fullscreen button not working in iFrame

Q&A about the latest versions
Post Reply
User avatar
stalwart
Posts: 578
Joined: Thu Oct 02, 2008 11:52 am

fullscreen button not working in iFrame

Post by stalwart » Wed Jun 13, 2018 1:28 pm

Hi all,

Quick Q.

Client is linking to a tour I'm hosting for them, and dropping the "index.html" file into an iFrame - and the fullscreen button isn't working:

http://gazeley.com/property/magna-park- ... rnado-186/

What are they / am I doing wrong? The URL works if viewed direct: http://www.360imagery.co.uk/virtualtour ... rnado_186/

Stu

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

Re: fullscreen button not working in iFrame

Post by Hopki » Wed Jun 13, 2018 2:15 pm

Hi Stu,
Make sure the iframe has the relevant permissions to allow fullscreen.
Example:

Code: Select all

<iframe src="http://yoursite.com/tour/pano.html" name="panorama" width="640" height="480" scrolling="no" marginheight="0" marginwidth="0" frameborder="0" style="float:left; margin-left:0px" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true"></iframe>
Regards,
Hopki

Post Reply

Who is online

Users browsing this forum: No registered users and 25 guests