[wp-trac] [WordPress Trac] #18719: YouTube Embedding Fails for https:// URLs
WordPress Trac
wp-trac at lists.automattic.com
Thu Feb 2 19:21:30 UTC 2012
#18719: YouTube Embedding Fails for https:// URLs
--------------------------+------------------------------
Reporter: MacMacken | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Embeds | Version: 3.2.1
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------------------
Changes (by Otto42):
* keywords: => has-patch
* severity: minor => normal
Comment:
Scratch that. It appears Google/YouTube decided that they didn't want to
fix this in the most obvious way. Instead, they added a nonstandard
"scheme=https" parameter for those cases where you want https results
instead.
See https://groups.google.com/forum/?fromgroups#!topic/youtube-api-gdata
/S9Fa-Zw2Ma8
Attached patch will add the scheme=https parameter to the youtube call for
the https cases, resulting in the iframe having the proper https src
result. Tested on trunk, works fine. No special cases needed for https
calls or SSL transport handling, the oembed call is still http, it's just
the result that's being adjusted to have the https.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18719#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list