From: Marcel Werk Date: Mon, 23 May 2016 13:38:54 +0000 (+0200) Subject: Added support for embedded youtube playlists X-Git-Tag: 3.0.0_Beta_1~1652 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e258a4fb20a634902e10936ec8fa1494afab3ede;p=GitHub%2FWoltLab%2FWCF.git Added support for embedded youtube playlists --- diff --git a/CHANGELOG.md b/CHANGELOG.md index 46fcc0725d..d239d111ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -50,6 +50,7 @@ * Added special CSS class to cookie policy notice (`cookiePolicyNotice`) * Improved confirmation messages (`...`) * Added users online list pagination +* Added support for embedded youtube playlists #### CMS diff --git a/wcfsetup/setup/db/install.sql b/wcfsetup/setup/db/install.sql index a933c9bd32..90a60de8af 100644 --- a/wcfsetup/setup/db/install.sql +++ b/wcfsetup/setup/db/install.sql @@ -2100,6 +2100,8 @@ INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfTooltip -- 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_-]+)(?:(?:\\?|&)t=(?P\\d+)$)?', ''); + -- 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+)', ''); -- MyVideo