Streaming live at 10am (PST)

Iframe brings back error


#1

Trouble embedding a simple iframe into my site – brings back an error when published.


#2

Could you please update your post with some more information so we can help you faster? Things like your read-only link & screenshots really helps us to help you faster :slight_smile:

How to share a read-only link:
http://help.webflow.com/faq/how-do-i-share-my-sites-read-only-link

Thanks in advance! :smiley:


#3

This is the code:

This is the website: www.migostudy.com (you can see the broken graphic)


#4

This is the read only link:

https://preview.webflow.com/preview/migostudy?preview=9dcbadad7c5a79c3d954eb4cc1170a0e

Thank you v much


#5

It appears to be the quotes used in the custom embed, chrome is treating the embed like this:

<iframe id="“ucas_adviser_widget”" src="“https://www.ucasdigital.com/widgets/advisers/ucas-adviser-widget.html”" width="“300”" height="“250”" frameborder="“0”" scrolling="“no”"></iframe>

where the then becomes the first character of the url, which results in chrome treating the url as a relative path since it doesn't begin with a protocol chrome knows how to handle (ex: http)

Updating all the to " in the custom code should fix things.

Let me know if that doesn't work!


#6