Jump to content

Need help with using iframe code - 2 issues

Recommended Posts

Site URL: https://flounder-synthesizer-bfwt.squarespace.com/vvn-contact-us

Hi,

So I've been having two issues with iframes and I'm not sure if it's because I missed a step in embedding or so but:

1. https://flounder-synthesizer-bfwt.squarespace.com/classes

- The timetable is an iframe embed from Teamup which works fine but it removes the images from the top section. I've isolated the problem to be relating to the iframes where when I don't have the timetable embed, we can see the images for the classes. I've also attached images relating to this with the code and without the code: So I'm not sure what's happening here but I'd like to have the images visible if possible

<iframe src="https://teamup.com/ks5vuonmsvms98erth?showProfileAndInfo=0&showSidepanel=1&showAgendaHeader=1&showAgendaDetails=0&showYearViewHeader=1" style="width: 100%; height: 800px; border: 1px solid #cccccc" frameborder="0" />

2. I have a facebook feed embed on my contact us page: (https://flounder-synthesizer-bfwt.squarespace.com/vvn-contact-us). It appears in edit mode however when I enter the site as a viewer, the feed doesn't appear. Am I doing something wrong here because I'm also really confused here.

<iframe src="https://www.facebook.com/plugins/page.php?href=https%3A%2F%2Fwww.facebook.com%2FVovinamAustraliaNSW&tabs=timeline%2C%20messages&width=340&height=500&small_header=false&adapt_container_width=true&hide_cover=false&show_facepile=true&appId" width="340" height="500" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowfullscreen="true" allow="autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share"></iframe>

 

Appreciate any help! Thank you!

With timetable code.PNG

without timetable code.PNG

iN EDIT VIEW.PNG

Link to comment
51 minutes ago, Jimmyky said:

Site URL: https://flounder-synthesizer-bfwt.squarespace.com/vvn-contact-us

Hi,

So I've been having two issues with iframes and I'm not sure if it's because I missed a step in embedding or so but:

1. https://flounder-synthesizer-bfwt.squarespace.com/classes

- The timetable is an iframe embed from Teamup which works fine but it removes the images from the top section. I've isolated the problem to be relating to the iframes where when I don't have the timetable embed, we can see the images for the classes. I've also attached images relating to this with the code and without the code: So I'm not sure what's happening here but I'd like to have the images visible if possible

<iframe src="https://teamup.com/ks5vuonmsvms98erth?showProfileAndInfo=0&showSidepanel=1&showAgendaHeader=1&showAgendaDetails=0&showYearViewHeader=1" style="width: 100%; height: 800px; border: 1px solid #cccccc" frameborder="0" />

2. I have a facebook feed embed on my contact us page: (https://flounder-synthesizer-bfwt.squarespace.com/vvn-contact-us). It appears in edit mode however when I enter the site as a viewer, the feed doesn't appear. Am I doing something wrong here because I'm also really confused here.

<iframe src="https://www.facebook.com/plugins/page.php?href=https%3A%2F%2Fwww.facebook.com%2FVovinamAustraliaNSW&tabs=timeline%2C%20messages&width=340&height=500&small_header=false&adapt_container_width=true&hide_cover=false&show_facepile=true&appId" width="340" height="500" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowfullscreen="true" allow="autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share"></iframe>

 

Appreciate any help! Thank you!

With timetable code.PNG

without timetable code.PNG

iN EDIT VIEW.PNG

You mean the iframe prevent the images from loading?

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
On 11/14/2021 at 4:49 AM, creedon said:

For issue one try changing the iframe code from...

frameborder="0" />

...to...

frameborder="0"></iframe>

The issue appears to be the use of a void element or self closing tag. iframe is not one of the void elements.

Perfect! This one solved the problem! Thank you for that!

 

As for the second issue, I've looked again on chrome and it does appear. However it doesn't appear on firefox. I find that quite odd and am  unsure what to do with this.

 

Regardless though thank you for helping solve no.1!!

Link to comment
48 minutes ago, creedon said:

I see it on Firefox/macOS here as well.

When you can't see it on FF are you in editing mode? What OS are you using? 

I'm using Firefox on Windows 10. It turns out it's a cookie issue and so by clearing cookies it all works now. Thank you for your time and help!!! Really appreciate it!

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.