From: woouki Date: Sun, 27 Nov 2016 14:52:25 +0000 (+0100) Subject: Fix "DailyMotion" media bbcode X-Git-Tag: 3.0.0_RC_1~110^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=06583dcedb123e2f342148672ffd700a399a6ed5;p=GitHub%2FWoltLab%2FWCF.git Fix "DailyMotion" media bbcode See https://developer.dailymotion.com/player#player-parameters --- diff --git a/wcfsetup/setup/db/install.sql b/wcfsetup/setup/db/install.sql index 81d1d29901..e5c852d0c0 100644 --- a/wcfsetup/setup/db/install.sql +++ b/wcfsetup/setup/db/install.sql @@ -2150,7 +2150,7 @@ INSERT INTO wcf1_template_group (parentTemplateGroupID, templateGroupName, templ -- Veoh INSERT INTO wcf1_bbcode_media_provider (title, regex, html) VALUES ('Veoh', 'http://(?:www\\.)?veoh\\.com/watch/v(?P\\d+[a-zA-Z0-9]+)', ''); -- DailyMotion - INSERT INTO wcf1_bbcode_media_provider (title, regex, html) VALUES ('DailyMotion', 'https?://(?:www\\.)?dailymotion\\.com/video/(?P[a-zA-Z0-9]+)', ''); + INSERT INTO wcf1_bbcode_media_provider (title, regex, html) VALUES ('DailyMotion', 'https?://(?:www\.)?dailymotion\.com/video/(?P[a-zA-Z0-9_-]+)', ''); -- Misc -- github gist INSERT INTO wcf1_bbcode_media_provider (title, regex, html) VALUES ('github gist', 'https://gist.github.com/(?P[^/]+/[0-9a-zA-Z]+)', '');