[wp-trac] [WordPress Trac] #42074: YouTube Auto-Embed Does Not Work with Video+Playlist Links

WordPress Trac noreply at wordpress.org
Tue Oct 3 14:01:24 UTC 2017


#42074: YouTube Auto-Embed Does Not Work with Video+Playlist Links
----------------------------+-----------------------------
 Reporter:  MicroBerto      |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Editor          |    Version:  4.8.2
 Severity:  normal          |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 Hi,

 When we past a video URL into the editor, it works fine:
 `https://www.youtube.com/watch?v=0yGrCbYDUvQ`

 But when embedding the ''playlist''-based URL, '''WordPress always shows
 the first video in the playlist''', despite the `v=0yGrCbYDUvQ` being set
 (see below what I am pasting). This is even if I ''don't'' have their
 `index` parameter set (indexes can move around):

 `https://www.youtube.com/watch?v=0yGrCbYDUvQ&list=PLpxGtvV4Cq_IacCuIMunwiFx3c4G5h0mE`

 To make it work, I always have to use YouTube's physical embed code, but
 then I don't get the benefits of WordPress auto-sizing it.

 Any chance to get this parsed out a bit better?

 Thanks!

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


More information about the wp-trac mailing list