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.
I'm trying to get this working for a client whose Brightcove URLs look like this:
http://video.kauffman.org/services/player/bcpid26494365001?bclid=2649030...
Reading code in emvideo_brightcove_extract() it appears that this module only works with URLs in the brightcove.com domain:
// Brightcove v3.3 - URL style.
'@\.brightcove\.com/services/player/bcpid.*?\?bctid=(\d+)@i',
// Brightcove Simple RSS URL style. billk2
'@\.brightcove\.com/services/link/bcpid.*?/bctid(\d+)@i',
Is there any way to support these custom URLs using the current code, or will a patch be required?
Many thanks!
Comments
Comment #1
aaron CreditAttribution: aaron commentedhmmm... i didn't realize that brightcove does that. i suppose we can add a regex pattern to search for bctid... not ideal, but it should catch most of those, and hopefully won't create false positives...