Jump to content

iframe content not loading

Recommended Posts

Posted

Site URL: https://thaa.co.uk/vr-gallery

Hi

I'm trying to add a virtual tour to my site (page link VR Gallery). The virtual tour is hosted by a third party server. I'm trying to use an iframe to link to it. When I'm in edit mode the iframe works, it loads the virtual tour and I can interact with it. 

This is the code I'm using

<iframe width="1200" height="800"
src="http://vrpropertyuk.com/VRTour_THAA VRTEST/index.htm" scrolling="no" frameborder="0"
style="border:none;overflow:hidden;"></iframe>

Any help is much appreciated.

Edit:

Fixed this issue, just changed http to https

 

  • Replies 1
  • Views 679
  • Created
  • Last Reply
Posted

Try this

<iframe width="1200" height="800"
src="https://vrpropertyuk.com/VRTour_THAA VRTEST/index.htm" scrolling="no" frameborder="0"
style="border:none;overflow:hidden;"></iframe>
<style>
  @media screen and (max-width:767px) {
    iframe {width:100%;}
  }
</style>

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.