Support YouTube Shorts

Created on 29 June 2022, almost 3 years ago
Updated 18 January 2023, over 2 years ago

Problem/Motivation

When trying to embed a YouTube Shorts video, this error is received:

Unable to handle the provided embed string or URL.

Steps to reproduce

With a WYSIYWG + Media implementation, try to embed a YouTube Shorts video URL like https://youtube.com/shorts/abc123

Proposed resolution

Add this pattern to MediaInternetYouTubeHandler.inc:

'@youtube\.com/shorts/([^"#\&\? ]+)@i',

Remaining tasks

Create a patch

User interface changes

None

API changes

None

Data model changes

None

✨ Feature request
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States tyler.frankenstein

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024