Jump to content

Problem with more than one iframe on page

Go to solution Solved by creedon,

Recommended Posts

Posted

I am trying to embed a google doc and below that a google folder using iframe code. In the backend, it works. On the public side, only the code that appears first works. (So, when I add the embed code for the google doc, the google folder no longer shows up. If I flip it and put the folder first on the page, the google doc no longer shows.) I've tried using embed blocks and code blocks and both give me the same issue. 

The website is https and so are the embed codes so that's not the issue. There seems to be a problem with displaying two embed codes in the same page. 

Does anyone have a solution? Thank you!

  • Replies 6
  • Views 954
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Posted

Please post the URL for a page on your site where we can see your issue.

A link to the backend of the your site won’t work for us, i.e. a url that contains /config/.

Please set up a site-wide password, if your site is not public and you've not already done so.

Post the password here.

Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site.

Please read the site-wide password and how to share a link documentation to understand how they work.

We can then take a look at your issue.

You may find How to post a forum question post useful.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Posted

I had to create some test content because I cannot share the original content. 

Here's the link to the website.

On the backend, I have a document embedded (which is visible on the public site) and a google folder embedded (which I can only see on the backend - screenshot attached). On the public site, nothing below the embedded document shows up - even text. 

I have used an embed block for both of the embedded items.

Backend.png

Posted
Quote

I had to create some test content because I cannot share the original content.

Can you include example code for both blocks and put them in code blocks? I am interested in seeing how both codes interact and the code blocks would be a bit easier to diagnose.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

  • Solution
Posted
Quote

I think I did what you asked, but I'm not sure 😉

Good enough!

The code for document embed has a syntax error. It contains a smart quote ( ” ) and HTML does not like smart quotes. Change it to a dumb quote ( " ).

Smart quotes usually get introduced if you use a word processor. If you are going to do some amount of code editing, you may want to a code editor app or a something like note pad or word pad.

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

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.