#29186 closed defect (bug) (invalid)
Embeds: don't strip `index` parameter in YouTube playlist URLs
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.0 |
Component: | Embeds | Keywords: | |
Focuses: | Cc: |
Description
What I expected to happen:
Copy a YouTube playlist URL and paste it into a blog post, and see the video playback start at the index I chose.
Testing with https://www.youtube.com/watch?v=shuRm6PKCVg&index=81&list=PL531A54FA9D00636F
What actually happened:
The video embed works except the playlist starts at the beginning, not the "index" location I chose, as indicated with the index=81
in the embed URL: https://www.youtube.com/watch?v=shuRm6PKCVg&index=81&list=PL531A54FA9D00636F
Embed HTML is as follows:
<iframe width="640" height="360" src="https://www.youtube.com/embed/videoseries?list=PL531A54FA9D00636F" frameborder="0" allowfullscreen=""></iframe>
Note the missing index
query parameter.
Steps to repeat:
- Start a new post, paste in https://www.youtube.com/watch?v=shuRm6PKCVg&index=81&list=PL531A54FA9D00636F
- Publish
- View post, see playback start at video 1 / 194 instead of 81 / 194 as expected
Notes
Testing with Chrome 36.0 on a MacBook Pro, OS X 10.9.4
WP trunk 4.0-beta3-29445-src with vanilla Twenty Ten theme
Change History (2)
Note: See
TracTickets for help on using
tickets.
This is an issue with YouTube's oEmbed response. Here's the oEmbed response for the video you linked above:
Note that the URL of the iframe in the
html
element doesn't contain anindex
parameter. Best to see if you can report this to YouTube (good luck).