Mixed content issues in browser
-
Hi
When the site is running using SSL and this plug-in is used, the browser will report Mixed content warning [1] in the browser console when the video is requested.
The reason for this warning is that the page is requested using HTTPS while the video resource is requested with HTTP
See Advanced_Responsive_Video_Embedder -> build_embed()
The ideal way to fix this is to use protocol relative urls and let the browser request the video with the same protocol as the host page.
Eg. “//youtube.com/?v=soev328”
Some caveats:
– Video sources must support both http and https
– Some IE8 issues [2][1] https://developer.mozilla.org/en-US/docs/Security/MixedContent
[2] http://www.paulirish.com/2010/the-protocol-relative-url/
[3] http://stackoverflow.com/questions/4659345/is-there-any-downside-for-using-a-leading-double-slash-to-inherit-the-protocol-in
The topic ‘Mixed content issues in browser’ is closed to new replies.