[wp-trac] [WordPress Trac] #29186: Embeds: don't strip `index` parameter in YouTube playlist URLs

WordPress Trac noreply at wordpress.org
Mon Aug 11 22:49:05 UTC 2014


#29186: Embeds: don't strip `index` parameter in YouTube playlist URLs
--------------------------+----------------------
 Reporter:  lancewillett  |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Embeds        |     Version:  trunk
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by johnbillion):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 This is an issue with YouTube's oEmbed response. Here's the oEmbed
 response for the video you linked above:
 {{{
 {
         "thumbnail_height": 360,
         "type": "video",
         "thumbnail_url":
 "https:\/\/i.ytimg.com\/vi\/shuRm6PKCVg\/hqdefault.jpg",
         "provider_url": "http:\/\/www.youtube.com\/",
         "html": "\u003ciframe width=\"474\" height=\"267\"
 src=\"https:\/\/www.youtube.com\/embed\/videoseries?list=PL531A54FA9D00636F\"
 frameborder=\"0\" allowfullscreen\u003e\u003c\/iframe\u003e",
         "width": 474,
         "provider_name": "YouTube",
         "version": "1.0",
         "height": 267,
         "title": "Side Effects Official Trailer #2 [HD]: Channing Tatum
 and Rooney Mara",
         "author_name": "ENTV",
         "thumbnail_width": 480,
         "author_url": "http:\/\/www.youtube.com\/user\/ENTV"
 }
 }}}
 Note that the URL of the iframe in the `html` element doesn't contain an
 `index` parameter. Best to see if you can report this to YouTube (good
 luck).

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29186#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list