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.
New facebook video urls are not correctly recognized.
Currently handled urls:
https://www.facebook.com/lorem_ipsum?v=123456789
https://www.facebook.com/lorem_ipsum?video_id=123456789
But my video urls look like this:
https://www.facebook.com/lorem_ipsum/videos/123456789/?permPage=1
https://www.facebook.com/lorem_ipsum/videos/vb.385607554910385/123456789/?type=1&theater
Comment | File | Size | Author |
---|---|---|---|
#4 | facebook_url_fix-2502205-4.patch | 877 bytes | idflood |
Comments
Comment #1
idflood CreditAttribution: idflood commentedComment #2
idflood CreditAttribution: idflood commentedComment #3
idflood CreditAttribution: idflood commentedI think I'v found a regular expression working on all urls:
http://www.regexr.com/3b5rr
Patch following.
Comment #4
idflood CreditAttribution: idflood at Stimul.ch commentedHere is a patch with the new regular expression.
Comment #6
plopescPatch is working, thank you!
Already committed to -dev version, I'll release a new tag soon.