Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#37363 closed defect (bug) (fixed)

Instance query argument breaks YouTube URL parsing in MediaElement.js

Reported by: ocean90's profile ocean90 Owned by: ocean90's profile ocean90
Milestone: 4.6 Priority: normal
Severity: normal Version:
Component: Media Keywords: upstream
Focuses: Cc:


See ticket:36759:8:

Works: [video src=""]
Broken: [video src=""]

That's because wp_video_shortcode() appends an instance argument to the original URL, which results in
This extra query argument breaks this line in MediaElement.js.

I'm going to report this upstream as well.

Change History (3)

#1 in reply to: ↑ description @ocean90
8 years ago

I'm going to report this upstream as well.

Pull request:

#2 @ocean90
8 years ago

  • Owner set to ocean90
  • Resolution set to fixed
  • Status changed from new to closed

In 38088:

External Libraries: Update MediaElement.js to 2.22.0.

Includes a fix for broken YouTube embeds which are embedded with the [video] shortcode.


Fixes #37363.

#3 @ocean90
8 years ago

  • Keywords needs-patch removed
  • Milestone changed from Awaiting Review to 4.6
Note: See TracTickets for help on using tickets.