Unused OEmbed functionality is removed

This commit is contained in:
Michael 2024-02-24 10:58:18 +00:00
parent 0ff37c0075
commit 821a135033
5 changed files with 48 additions and 274 deletions

View file

@ -2058,9 +2058,6 @@ class BBCode
// Default iframe allowed domains/path
$allowedIframeDomains = [
DI::baseUrl()->getHost()
. (DI::baseUrl()->getPath() ? '/' . DI::baseUrl()->getPath() : '')
. '/oembed/', # The path part has to change with the source in Content\Oembed::iframe
'www.youtube.com/embed/',
'player.vimeo.com/video/',
];