Add WhiteListIframe embed of everycircuit.com

  <a href="http://everycircuit.com/circuit/5222925563068416">Push-Pull Boot Converter - EveryCircuit</a><br>
    <iframe width="560" height="360" src="http://everycircuit.com/embed/5222925563068416" frameborder="0"></iframe>

I add url line see from history Plugin whitelist iframe but can not work. How should I fix it?

The API for whitelisting iframes is a mess.

I will fix it, it is on my list.

6 Likes

thank you very much.

I tried use http. It work. But url embed of everycircuit.com is http only. How to fix it to work my website.

API is no longer a mess per:

https://github.com/discourse/discourse/commit/e283e6aea002fb533640e68f8ee7447cf0a7c90d

Feel free to allow whatever iframes you want via site settings.

5 Likes

Oh thank you very much :grinning: and i can add link embed from something web http or not. I trid add http://everycircuit.com/embed/ and post

<iframe width="560" height="360" src="http://everycircuit.com/embed/5222925563068416" frameborder="0"></iframe>

not work

I try load http it work :sweat:

This isn’t a Discourse problem, it’s a browser security feature. You cannot embed an insecure (http) website in a secure (https) website. If you check your browser developer console you’ll see the error message

Mixed Content: The page at https://your.forum/65/3 was loaded over HTTPS, but requested an insecure resource http://everycircuit.com/embed/5222925563068416. This request has been blocked; the content must be served over HTTPS.

The only way to get it solved would be to contact everycircuit.com and get them to set up HTTPS connections to their site.

5 Likes

Yes. I send mail to Everycircuit themes them said “They are working on a version which will work in all browsers. When do that, They will support https.” and I’ll wait.

2 Likes

I suspect this works as they have very likely added https support by now at Everycircuit, can you confirm @Bank_Live?

Yes! It work now :grin: :tada:

thank you very mush for tell me.

2 Likes