We're trying to embed this Reddit page (https://www.reddit.com/live/veh2e41lp0he) in an iFrame, but it appears blank. We thought it would be neat to layer real-time chat on top of the page, but it seems impossible without resorting to an extension or forcing users to download something.
Here's the HTTP JSFiddle: http://jsfiddle.net/sjvcs165/, which works with CNN.com and ESPN.com.
<iframe src="https://www.reddit.com/"></iframe>
html {
height: 100%;
}
body {
height: 100%;
min-height: 100%;
position: relative;
}
iframe { width: 100%; height: 100%; min-height: 100%; }
Here's the HTTPS JSFiddle: https://jsfiddle.net/zzkpdxue/, which contains the same code, but originates from an HTTPS page, which we thought would solve the problem. It also fails to show HTTPS content.
Is it not possible to show HTTPS content in an iFrame? Aren't ads, presented as secure content, sometimes served on HTTPS pages through iFrames?