From 66f046bb344ff7903bb767b5982fe77758960919 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Wed, 18 May 2016 17:34:27 +0200 Subject: [PATCH] Fixed parsing of 'time' parameter in youtube urls --- wcfsetup/setup/db/install.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/setup/db/install.sql b/wcfsetup/setup/db/install.sql index 1c292619b3..81c03372b0 100644 --- a/wcfsetup/setup/db/install.sql +++ b/wcfsetup/setup/db/install.sql @@ -1876,7 +1876,7 @@ INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('messageSid -- media providers -- Videos -- 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))$)?)', ''); + INSERT INTO wcf1_bbcode_media_provider (title, regex, html) VALUES ('YouTube', 'https?://(?:.+?\\.)?youtu(?:\\.be/|be\\.com/(?:#/)?watch\\?(?:.*?&)?v=)(?P[a-zA-Z0-9_-]+)(?:(?:\\?|&)t=(?P\\d+)$)?', ''); -- Vimeo INSERT INTO wcf1_bbcode_media_provider (title, regex, html) VALUES ('Vimeo', 'https?://vimeo\\.com/(?P\\d+)', ''); -- MyVideo -- 2.20.1