From: Marcel Werk Date: Tue, 26 Jul 2016 08:43:19 +0000 (+0200) Subject: Improved support of Vimeo URLs X-Git-Tag: 3.0.0_Beta_1~968 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=275af9207aa11918bf162d3af4d1c4d4ca4750ae;p=GitHub%2FWoltLab%2FWCF.git Improved support of Vimeo URLs --- diff --git a/wcfsetup/setup/db/install.sql b/wcfsetup/setup/db/install.sql index 4f65d1da17..f567c87481 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 -- Youtube playlist INSERT INTO wcf1_bbcode_media_provider (title, regex, html) VALUES ('YouTube Playlist', 'https?://(?:.+?\\.)?youtu(?:\\.be/|be\\.com/)playlist\\?(?:.*?&)?list=(?P[a-zA-Z0-9_-]+)', '
'); -- Vimeo - INSERT INTO wcf1_bbcode_media_provider (title, regex, html) VALUES ('Vimeo', 'https?://vimeo\\.com/(?P\\d+)', ''); + INSERT INTO wcf1_bbcode_media_provider (title, regex, html) VALUES ('Vimeo', 'https?://vimeo\\.com/(?:channels/[^/]+/)?(?P\\d+)', ''); -- Clipfish INSERT INTO wcf1_bbcode_media_provider (title, regex, html) VALUES ('Clipfish', 'http://(?:www\\.)?clipfish\\.de/(?:.*?/)?video/(?P\\d+)/', '
'); -- Veoh