Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 22 months 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 2 years ago.
After patch.png (290.5 KB) - added by mukesh27 2 years ago.

Download all attachments as: .zip

Change History (9)

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


2 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
2 years ago

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

#3 @mukesh27
2 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
2 years ago

@mukesh27
2 years ago

#4 @peterwilsoncc
2 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
2 years ago

  • Keywords needs-codex added

#7 @dd32
2 years ago

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