Problem/Motivation

The formatter right now doesn't support embedding YouTube shorts.

Steps to reproduce

Do as usual, and try to add YouTube shorts video to the page.

CommentFileSizeAuthor
#2 plyr-youtube-shorts-support.patch810 bytesblade_ukraine

Issue fork plyr-3526630

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

blade_ukraine created an issue. See original summary.

blade_ukraine’s picture

StatusFileSize
new810 bytes

Here is the patch for that. I've modified the regular expression that is used in the formatter to support YouTube shorts URL's.

blade_ukraine’s picture

Status: Active » Needs review
it-cru’s picture

@blade_ukraine: I've tested regex change via https://www.phpliveregex.com/ and it worked as expected.

  • it-cru committed d7b369dd on 8.x-1.x
    Issue #3526630 by it-cru, blade_ukraine: Support YouTube shorts for...
it-cru’s picture

Status: Needs review » Reviewed & tested by the community
it-cru’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.