Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Right now only these patterns are supported:
'youtube.com/v/([^"&]+)',
'youtube.com/watch\\?v=([^"&]+)',
'youtube.com/\\?v=([^"&]+)'
Comment | File | Size | Author |
---|---|---|---|
#4 | lightbox2-add-youtu.be-support-3010319-4.patch | 545 bytes | dmitryl |
Comments
Comment #2
dmitryl CreditAttribution: dmitryl commentedAttaching a patch to add
'youtu.be/([^"&]+)'
pattern.Comment #3
aloyr CreditAttribution: aloyr as a volunteer and commentedLGTM. We've had a similar fix applied to our local version of lightbox back in 2015. This has been working fine for us.
Comment #4
dmitryl CreditAttribution: dmitryl commentedFixed the path in patch #2
Comment #5
pifagor+1
Comment #6
volegerThanks for the patch, fixed