Jump to content

My embed block iframe code does not work. Any ideas?

Recommended Posts

I am trying to use an embed block on my Squarespace site to display the following iframe on a page:

<iframe style="border: 0px;" width="120" height="430" src="http://mintillustrations.theprintbar.com/publish/ifeed?s=0&t=Products&o=0&f=Arial&fs=10&bg=%23FFFFFF&fg=%23000000&c=1&cnt=3"/>

When I attempt to put the code in an embed block using the "embed data" field (not the URL field), the block displays a pixelated sad face page icon.

Does anyone have any idea why this iframe code won't work with Squarespace, or ideas on how I could make it work? 

Thanks in advance! 

Link to comment
  • Replies 3
  • Views 924
  • Created
  • Last Reply

To help with a specific answer, we need to see the issue first hand, which means we need you to provide a working link to your website. If the site isn't live, we need you to set a password in the visibility settings and tell us what it is. 

Without a link to the site, I'd guess that the issue is due to the non-secure URL you are using (http://). If your site is using https then the iframe must also use https. You will not be able to change the URL in the iframe because the site you are trying to embed does not support https.

 

 

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

Link to comment
1 minute ago, MintIllustrations said:

Here is the webpage with the embed block https://mintillustrations.com/shop

That confirms that the issue is as I suspected.

I suggest you approach the other company to ask them when their site will be upgraded to be secure (SSL/HTTPS). When they allow https, the iframe will work.

The only other alternative is to downgrade your site's security - but I recommend against doing this as it's really important for security. So important in fact, that Google actually punishes websites that don’t use https by pushing them down in the rankings.

 

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

Link to comment

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.