Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#55528 closed enhancement (fixed)

Register a oEmbed handler for YouTube Shorts

Reported by: danielbachhuber's profile danielbachhuber Owned by: peterwilsoncc's profile peterwilsoncc
Milestone: 6.0 Priority: normal
Severity: normal Version:
Component: Embeds Keywords: has-patch commit needs-user-docs
Focuses: Cc:

Description

Apparently https://www.youtube.com/shorts/JnLsjVy3soI is another embeddable YouTube URL format.

Attachments (2)

Before patch.png (19.3 KB) - added by mukesh27 3 years ago.
After patch.png (290.5 KB) - added by mukesh27 3 years ago.

Download all attachments as: .zip

Change History (9)

This ticket was mentioned in PR #2517 on WordPress/wordpress-develop by danielbachhuber.


3 years ago
#1

  • Keywords has-patch added

For support URLs like https://youtube.com/shorts/JnLsjVy3soI.

Trac ticket: https://core.trac.wordpress.org/ticket/55528

#2 @johnbillion
3 years ago

  • Keywords needs-testing added
  • Milestone changed from Awaiting Review to 6.0

#3 @mukesh27
3 years ago

  • Keywords commit added; needs-testing removed

Hi there!

I have tested the patch and it working fine and embed shorts youtube videos. Please check attached screenshot for more information about testing

The patch is ready to commit

@mukesh27
3 years ago

@mukesh27
3 years ago

#4 @peterwilsoncc
3 years ago

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

In 53106:

Embeds: Add YouTube shorts to the allow list.

YouTube shorts URLs have a different structure to other YouTube videos. This adds support for the structure for YouTube embeds.

Props danielbachhuber, johnbillion, mukesh27.
Fixes #55528.

#6 @milana_cap
3 years ago

  • Keywords needs-codex added

#7 @dd32
3 years ago

  • Keywords needs-user-docs added; needs-codex removed
Note: See TracTickets for help on using tickets.