Open nicolaasmatthijs opened 11 years ago
Interesting, I was looking into writing a proxy service to solve this issue, but I think I'll give your solution a try first.
@starfishmod : Is there any chance that this can be merged? Cross-protocol embedding is becoming an increasingly big problem in the latest browser versions.
The NFL would like to continue support for this plugin. Please re-submit your pull request with https://github.com/nfl/jquery-oembed-all. Thank you.
When using oEmbed on an https page, security conscious browsers such as Chrome won't load some of the http jsonp and swf content.
In this PR, I've made the following providers protocol agnostic and tested this on both http and https:
The same approach would probably work for the other providers as well, but I haven't fixes and/or tested any of those yet.