[p2pu-dev] http iframe in an https page

John Britton john at p2pu.org
Tue Oct 16 17:39:51 UTC 2012


Not sure if this will help, but you can leave off the "http(s)" part and
just use "//" like "//example.com"

This way the browser will request http if the parent page is http and https
if the parent is https.
--
contact info:
http://www.johndbritton.com
@johndbritton - http://twitter.com/johndbritton



On Tue, Oct 16, 2012 at 12:03 PM, Dirk Uys <dirk at p2pu.org> wrote:

> Hi everyone
>
> We are having issues with embedded content that's served from a
> non-ssl URL (<iframe src="http://.." >). See
>
> https://p2pu.org/en/groups/getting-started-finding-the-data/content/data-sources/
> for an example.
>
> Some browsers don't show the iframe if it's not from a secure source.
> Is there a way to ensure that the iframe content shows up other than
> loading from src="https://.."?
>
> Cheers
> d
> _______________________________________________
> p2pu-dev mailing list
> p2pu-dev at lists.p2pu.org
> http://lists.p2pu.org/mailman/listinfo/p2pu-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p2pu.org/pipermail/p2pu-dev/attachments/20121016/48c7d14d/attachment.html>


More information about the p2pu-dev mailing list