From: Sascha Greuel Date: Thu, 26 Feb 2015 22:46:56 +0000 (+0100) Subject: Fixed Youtube embed on mobile devices X-Git-Tag: 2.1.2~91^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c38e96cfb7ee5386131bb932f34c5eebb377483e;p=GitHub%2FWoltLab%2FWCF.git Fixed Youtube embed on mobile devices --- diff --git a/wcfsetup/setup/db/install.sql b/wcfsetup/setup/db/install.sql index 3df8e0eb88..0c590995af 100644 --- a/wcfsetup/setup/db/install.sql +++ b/wcfsetup/setup/db/install.sql @@ -1875,7 +1875,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_-]+)(?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', 'https?://vimeo\\.com/(?P\\d+)', ''); -- MyVideo