idan / gistio

A gist-backed pretty display for markdown.
https://gist.io
MIT License
488 stars 41 forks source link

iframes in markdown / gists not displaying on gist.io #57

Open tkb opened 11 years ago

tkb commented 11 years ago

I created this example gist with 2 iframes - one bringing in a visual from a webpage and a second with a youtube video:

https://gist.github.com/tkb/6377766

The embedded content does not render on gist.io:

http://gist.io/6377766

Is this a bug / limitation?

Any suggested workarounds?

Potherca commented 5 years ago

@idan ✔️ Issue can be closed.

Iframes are properly rendered. Visit https://gist.io/@tkb/6377766 to see the Youtube video.

The other iframe is not visible as gist.io is hosted from HTTPS and the iframe is not.

The browser will block the content and warn in the console it is mixed content.

Mixed Content: The page at 'https://gist.io/@tkb/6377766' was loaded over HTTPS, but requested an insecure resource 'http://tkb.github.io/lifeexpectancy-post/index.html'. This request has been blocked; the content must be served over HTTPS.