Jump to content

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

Recommended Posts

Posted

I am trying to use an embed block on my Squarespace site to display the following iframe on a page (content from National Public Radio):

<iframe src="http://www.npr.org/player/embed/455912166/456523060" width="100%" height="290" frameborder="0" scrolling="no" title="NPR embedded audio player"></iframe>

When I test this iframe code in an HTML code tester such as CSG it works fine.

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.

When I attempt to put the code in a code block instead of an embed block, I get the same result.

I have tried following the instructions in this Squarespace forum post with no luck.

Does anyone have any idea why this iframe code won't work with Squarespace, or ideas on how I could make it work? I am not a developer but have a somewhat technical background.

Thanks in advance! Cheers.

  • Replies 3
  • Views 11.1k
  • Created
  • Last Reply
Posted

Well, never mind! After more searching I found this post and reply on the forums. Basically the answer is that there was nothing wrong with my iframe code or how I was entering it into an embed block. The problem is just previewing the specific content of that block while logged into my Squarespace site in admin mode.

  • 6 months later...
  • 1 month later...

Archived

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

Guest
This topic is now 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.