Right now only these patterns are supported:

 'youtube.com/v/([^"&]+)',
'youtube.com/watch\\?v=([^"&]+)',
'youtube.com/\\?v=([^"&]+)'
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dmitryl created an issue. See original summary.

dmitryl’s picture

Attaching a patch to add 'youtu.be/([^"&]+)' pattern.

aloyr’s picture

Status: Active » Reviewed & tested by the community

LGTM. We've had a similar fix applied to our local version of lightbox back in 2015. This has been working fine for us.

dmitryl’s picture

FileSize
545 bytes

Fixed the path in patch #2

pifagor’s picture

+1

voleger’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for the patch, fixed

  • voleger committed c71c4bb on 7.x-2.x authored by dmitryl
    Issue #3010319 by dmitryl, aloyr, pifagor, voleger: Support for...

Status: Fixed » Closed (fixed)

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