Add WhiteListIframe embed of everycircuit.com


(Bank Live) #1

  <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?


(Sam Saffron) #2

The API for whitelisting iframes is a mess.

I will fix it, it is on my list.


(Bank Live) #3

thank you very much.


(Bank Live) #4

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


(Sam Saffron) #5

API is no longer a mess per:

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


(Bank Live) #6

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:


(David Taylor) #7

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.


(Bank Live) #8

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.