[brightcove] Improve embed detection (closes #25674)
[youtube-dl] / youtube_dl / extractor / brightcove.py
index 5c22a730db98b77cab1db2c5503b493b162e9c9a..2aa9f4782e0dfdb2b78225c2d1fe83a8568effe3 100644 (file)
@@ -426,7 +426,7 @@ class BrightcoveNewIE(AdobePassIE):
         # [2] looks like:
         for video, script_tag, account_id, player_id, embed in re.findall(
                 r'''(?isx)
-                    (<video\s+[^>]*\bdata-video-id\s*=\s*['"]?[^>]+>)
+                    (<video(?:-js)?\s+[^>]*\bdata-video-id\s*=\s*['"]?[^>]+>)
                     (?:.*?
                         (<script[^>]+
                             src=["\'](?:https?:)?//players\.brightcove\.net/