From e258a4fb20a634902e10936ec8fa1494afab3ede Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Mon, 23 May 2016 15:38:54 +0200 Subject: [PATCH] Added support for embedded youtube playlists --- CHANGELOG.md | 1 + wcfsetup/setup/db/install.sql | 2 ++ 2 files changed, 3 insertions(+) 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 -- 2.20.1