From: Sascha Greuel Date: Fri, 13 Feb 2015 14:54:03 +0000 (+0100) Subject: Fixed vimeo embed X-Git-Tag: 2.1.0_RC_1~17^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d90e8793bf10898349a7a942ef3d07e149cc8582;p=GitHub%2FWoltLab%2FWCF.git Fixed vimeo embed --- diff --git a/wcfsetup/setup/db/install.sql b/wcfsetup/setup/db/install.sql index 4346f645d2..3df8e0eb88 100644 --- a/wcfsetup/setup/db/install.sql +++ b/wcfsetup/setup/db/install.sql @@ -1877,7 +1877,7 @@ INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('messageSid -- Youtube INSERT INTO wcf1_bbcode_media_provider (title, regex, html) VALUES ('YouTube', 'https?://(?:.+?\\.)?youtu(?:\\.be/|be\\.com/(?:#/)?watch\\?(?:.*?&)?v=)(?P[a-zA-Z0-9_-]+)(?P(?:#a?t=(?:\\d+|(?:\\d+h(?:\\d+m)?(?:\\d+s)?)|(?:\\d+m(?:\\d+s)?)|(?:\\d+s))$)?)', ''); -- Vimeo - INSERT INTO wcf1_bbcode_media_provider (title, regex, html) VALUES ('Vimeo', 'http://vimeo\\.com/(?P\\d+)', ''); + INSERT INTO wcf1_bbcode_media_provider (title, regex, html) VALUES ('Vimeo', 'https?://vimeo\\.com/(?P\\d+)', ''); -- MyVideo INSERT INTO wcf1_bbcode_media_provider (title, regex, html) VALUES ('MyVideo', 'http://(?:www\\.)?myvideo\\.de/watch/(?P\\d+)', ''); -- Clipfish