From 1a18732778ce607c5ea20fc9a8010cbaee3897b6 Mon Sep 17 00:00:00 2001 From: garmoncheg Date: Mon, 25 Nov 2024 21:19:35 +0200 Subject: [PATCH] Domains: recognize more IDs for Brightcove player #566 --- plugins/domains/brightcove.com/players.brightcove.net.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/domains/brightcove.com/players.brightcove.net.js b/plugins/domains/brightcove.com/players.brightcove.net.js index 6dc9fa22a..5d9efb128 100644 --- a/plugins/domains/brightcove.com/players.brightcove.net.js +++ b/plugins/domains/brightcove.com/players.brightcove.net.js @@ -1,7 +1,7 @@ export default { re: [ - /^https?:\/\/players\.brightcove\.net\/\d+\/[a-zA-Z0-9]+_[a-zA-Z0-9]+\/index\.html\?videoId=\d+/i, + /^https?:\/\/players\.brightcove\.net\/\d+\/[a-zA-Z0-9-]+_[a-zA-Z0-9]+\/index\.html\?videoId=\d+/i, // Avoid oembed error on experiences such as https://players.brightcove.net/6057277732001/experience_5fdc1e38e57a07002222f857/share.html // Аuto-discovery on expeience pages is for a single video and isn't right either. So let oEmbed fail there for now.