Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

### 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

- Updated phpBB 3's MediaEmbed site definitions from s9e/TextFormatter 2.11.5 to 2.19.3.
Expand Down
2 changes: 1 addition & 1 deletion adm/style/acp_phpbb_mediaembed_manage.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ <h3>{{ lang('WARNING') }}</h3>
<div class="mediaembed-site-toolbar">
<p class="mediaembed-site-filter">
<label for="mediaembed-site-filter"><strong>{{ lang('SEARCH') ~ lang('COLON') }}</strong></label>
<input type="search" id="mediaembed-site-filter" class="text medium" autocomplete="off" aria-controls="mediaembed-site-list" placeholder="{{ lang('SEARCH_MINI') }}">
<input type="search" id="mediaembed-site-filter" class="text medium" autocomplete="off" aria-controls="mediaembed-site-list" placeholder="{{ lang('SEARCH_MINI')|e('html_attr') }}">
</p>
<p class="small mediaembed-site-actions"><a href="#" data-marksites="true">{{ lang('MARK_ALL') }}</a> &bull; <a href="#" data-marksites="false">{{ lang('UNMARK_ALL') }}</a></p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion adm/style/acp_phpbb_mediaembed_settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ <h1>{{ lang('ACP_MEDIA_SETTINGS') }}</h1>
</dl>
<dl>
<dt><label for="action_purge_cache">{{ lang('ACP_MEDIA_PURGE_CACHE') ~ lang('COLON') }}</label><br><span>{{ lang('ACP_MEDIA_PURGE_CACHE_EXPLAIN') }}</span></dt>
<dd><input class="button2" type="submit" id="action_purge_cache" name="action_purge_cache" value="{{ lang('PURGE_CACHE') }}"></dd>
<dd><input class="button2" type="submit" id="action_purge_cache" name="action_purge_cache" value="{{ lang('PURGE_CACHE')|e('html_attr') }}"></dd>
</dl>
</fieldset>
<fieldset>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{% if S_BBCODE_MEDIA %}
<input type="button" class="button2" accesskey="m" name="addmedia" value="Media" style="width: 50px;" onclick="bbfontstyle('[media]', '[/media]');" title="{{ lang('BBCODE_MEDIA_HELP') }}">
<input type="button" class="button2" accesskey="m" name="addmedia" value="Media" style="width: 50px;" onclick="bbfontstyle('[media]', '[/media]');" title="{{ lang('BBCODE_MEDIA_HELP')|e('html_attr') }}">
{% endif %}
48 changes: 24 additions & 24 deletions collection/sites/yamusic.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
name: "Yandex Music"
host: music.yandex.ru
example: https://music.yandex.ru/album/5307396/track/38633706
extract: "!music\\.yandex\\.ru(\\/album\\/(?'aid'\\d+)(\\/track\\/(?'tid'\\d+))?|\\/users\\/(?'uid'\\w+)\\/playlists\\/(?'pid'\\d+))!"
choose:
when:
test: "@uid"
iframe:
height: "450"
width: "100%"
src: //music.yandex.ru/iframe/#playlist/{@uid}/{@pid}
otherwise:
choose:
when:
test: "@tid"
iframe:
height: "100"
width: "100%"
src: //music.yandex.ru/iframe/#track/{@tid}/{@aid}
otherwise:
iframe:
height: "450"
width: "100%"
src: //music.yandex.ru/iframe/#album/{@aid}
name: "Yandex Music"
host: music.yandex.ru
example: https://music.yandex.ru/album/5307396/track/38633706
extract: "!music\\.yandex\\.ru(\\/album\\/(?'aid'\\d+)(\\/track\\/(?'tid'\\d+))?|\\/users\\/(?'uid'\\w+)\\/playlists\\/(?'pid'\\d+))!"
choose:
when:
test: "@uid"
iframe:
height: "450"
width: "100%"
src: //music.yandex.ru/iframe/#playlist/{@uid}/{@pid}
otherwise:
choose:
when:
test: "@tid"
iframe:
height: "100"
width: "100%"
src: //music.yandex.ru/iframe/#track/{@tid}/{@aid}
otherwise:
iframe:
height: "450"
width: "100%"
src: //music.yandex.ru/iframe/#album/{@aid}
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
{
Expand All @@ -25,7 +25,7 @@
},
{
"name": "Ruslan Uzdenov",
"homepage": "http://www.phpbbguru.net",
"homepage": "https://www.phpbbguru.net",
"role": "Extensions Development Team"
}
],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% if S_BBCODE_MEDIA %}
<button type="button" class="button button-icon-only bbcode-media" accesskey="m" name="addmedia" value="Media" onclick="bbfontstyle('[media]', '[/media]');" title="{{ lang('BBCODE_MEDIA_HELP') }}">
<button type="button" class="button button-icon-only bbcode-media" accesskey="m" name="addmedia" value="Media" onclick="bbfontstyle('[media]', '[/media]');" title="{{ lang('BBCODE_MEDIA_HELP')|e('html_attr') }}">
{% if constant('PHPBB_VERSION') starts with '4' %}
{{ include('@phpbb_mediaembed/media_embed_bbcode_icon.html') }}
{% else %}
Expand Down