From 0ad7e62da1344c8fbb2a55021d7066d31ad6589b Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Wed, 7 Oct 2026 17:37:14 -0700 Subject: [PATCH 1/4] Bump to 2.1.1 --- CHANGELOG.md | 5 +++++ composer.json | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1563a69..276dae2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +### 2.1.1 - 2026-10-07 + +- Added vertical rendering for YouTube Shorts while retaining landscape rendering for regular YouTube videos. +- Added an ACP setting to show or hide the embedded media disclosure in the Privacy Policy. + ### 2.1.0 - 2026-09-06 - Updated phpBB 3's MediaEmbed site definitions from s9e/TextFormatter 2.11.5 to 2.19.3. diff --git a/composer.json b/composer.json index 15d7111..a0411fb 100644 --- a/composer.json +++ b/composer.json @@ -3,19 +3,19 @@ "type": "phpbb-extension", "description": "An official phpBB extension that allows users to embed content from allowed sites using a [media] BBCode, or from simply posting a supported URL in plain text.", "homepage": "https://www.phpbb.com/customise/db/extension/mediaembed/", - "version": "2.1.0", + "version": "2.1.1", "license": "GPL-2.0-only", "authors": [ { "name": "Marc Alexander", "email": "admin@m-a-styles.de", - "homepage": "http://www.m-a-styles.de", + "homepage": "https://www.m-a-styles.de", "role": "Extensions Team Consultant" }, { "name": "Michael Cullum", "email": "michael@phpbb.com", - "homepage": "http://michaelcullum.com", + "homepage": "https://michaelcullum.com", "role": "Extensions Team Consultant" }, { @@ -25,7 +25,7 @@ }, { "name": "Ruslan Uzdenov", - "homepage": "http://www.phpbbguru.net", + "homepage": "https://www.phpbbguru.net", "role": "Extensions Development Team" } ], From 5c0b6125acf28d35a2396b00499e443e278ddb75 Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Fri, 6 Nov 2026 20:55:16 -0800 Subject: [PATCH 2/4] Update Changelog --- CHANGELOG.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 276dae2..32dd22a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,15 @@ # Changelog -### 2.1.1 - 2026-10-07 +### 2.1.1 - 2026-11-07 - Added vertical rendering for YouTube Shorts while retaining landscape rendering for regular YouTube videos. - Added an ACP setting to show or hide the embedded media disclosure in the Privacy Policy. +- Fixed a bug introduced in 2.1.0 where disabling plain URL parsing would cause obsolete or nonfunctional media sites to appear in the ACP. +- Fixed a bug where MediaEmbed could un-intentionally alter a custom YouTube BBCode template definition. +- Fixed a compatibility issue with the Consent manager extension that could disable the custom and full width content sizing options. +- Setting a custom or full width content size will no longer stretch or distort YouTube Shorts. +- The MEDIA BBCode will now only be visible to users with permission to use it. +- The MediaEmbed section in the FAQ will no longer render the example YouTube video if YouTube videos are not allowed. ### 2.1.0 - 2026-09-06 From 9f92ee0469f8ffe1bd91bec5dd3b66595fbe9d42 Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Sun, 8 Nov 2026 09:15:29 -0800 Subject: [PATCH 3/4] Escape lange keys in html attributes --- adm/style/acp_phpbb_mediaembed_manage.html | 2 +- adm/style/acp_phpbb_mediaembed_settings.html | 2 +- adm/style/event/acp_posting_buttons_custom_tags_before.html | 2 +- .../event/posting_editor_buttons_custom_tags_before.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/adm/style/acp_phpbb_mediaembed_manage.html b/adm/style/acp_phpbb_mediaembed_manage.html index a046fa1..ed4bf5e 100644 --- a/adm/style/acp_phpbb_mediaembed_manage.html +++ b/adm/style/acp_phpbb_mediaembed_manage.html @@ -20,7 +20,7 @@

{{ lang('WARNING') }}

- +

{{ lang('MARK_ALL') }} • {{ lang('UNMARK_ALL') }}

diff --git a/adm/style/acp_phpbb_mediaembed_settings.html b/adm/style/acp_phpbb_mediaembed_settings.html index d069c8b..f208388 100644 --- a/adm/style/acp_phpbb_mediaembed_settings.html +++ b/adm/style/acp_phpbb_mediaembed_settings.html @@ -35,7 +35,7 @@

{{ lang('ACP_MEDIA_SETTINGS') }}


{{ lang('ACP_MEDIA_PURGE_CACHE_EXPLAIN') }}
-
+
diff --git a/adm/style/event/acp_posting_buttons_custom_tags_before.html b/adm/style/event/acp_posting_buttons_custom_tags_before.html index f44d8e8..bc0db42 100644 --- a/adm/style/event/acp_posting_buttons_custom_tags_before.html +++ b/adm/style/event/acp_posting_buttons_custom_tags_before.html @@ -1,3 +1,3 @@ {% if S_BBCODE_MEDIA %} - + {% endif %} diff --git a/styles/all/template/event/posting_editor_buttons_custom_tags_before.html b/styles/all/template/event/posting_editor_buttons_custom_tags_before.html index 7f6dfd9..00b1244 100644 --- a/styles/all/template/event/posting_editor_buttons_custom_tags_before.html +++ b/styles/all/template/event/posting_editor_buttons_custom_tags_before.html @@ -1,5 +1,5 @@ {% if S_BBCODE_MEDIA %} -