Streaming live at 10am (PST)

Embed iframe from CMS Collection

Hi there

Been scouring the forums but can’t find a way to get iFrame code from Collection to embed on the site.

So I:

  • created a TEXT field in my CMS to hold the iFrame code
  • on the Collection Template page, I create an embed and “added field” the text field from CMSsite.

Page shows up as totally blank if I use:
image
OR
image

If I don’t use <script> tags. <iframe> code is seen as Plain Text

What am I doing wrong?

My Site’s ReadOnly link. Data is in the “Podcasts” Collection. Page is in the “Podcasts Template” with this URL

Thanks in advance!

Hey @jayz,

I think you’re absolutely on the right track.

Could I suggest you try this tho.

  1. Add an embed code snip on the CMS page
  2. Add the primary code into this embed (as below)

<iframe src="YOUR_I_FRAME_LINK" width="100%" height="180" frameborder="0" scrolling="no" seamless="true"></iframe>

  1. Add a reference to your CMS, but lets ONLY link the actually link
  2. Add only the link into the CMS

image

This way were actually only adding a link into the html embed and not replacing the whole script.

Hope I’ve helped man!


Tom
Follow me for more resources @ flowbase.co

thanks a lot @Thomas_92. It worked beautifully!

1 Like