[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:38:54 UTC 2014


#29186: Embeds: don't strip `index` parameter in YouTube playlist URLs
--------------------------+-----------------------------
 Reporter:  lancewillett  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Embeds        |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 '''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:'''

 1. Start a new post, paste in
 https://www.youtube.com/watch?v=shuRm6PKCVg&index=81&list=PL531A54FA9D00636F
 2. Publish
 3. 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

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


More information about the wp-trac mailing list