WordPress.org

Make WordPress Core

Opened 7 weeks ago

Last modified 7 weeks ago

#42074 new defect (bug)

YouTube Auto-Embed Does Not Work with Video+Playlist Links

Reported by: MicroBerto Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Embeds Keywords: needs-patch
Focuses: Cc:

Description

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!

Change History (1)

#1 @swissspidy
7 weeks ago

  • Component changed from Editor to Embeds
  • Focuses administration removed
  • Keywords needs-patch added
  • Version 4.8.2 deleted
Note: See TracTickets for help on using tickets.