After update to Joomla! 5.1.0 Stable embedded videos stopped working
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
-
- Joomla! Fledgling
- Posts: 3
- Joined: Wed Apr 17, 2024 3:35 pm
After update to Joomla! 5.1.0 Stable embedded videos stopped working
Hello,
today is Aprils 17 2024 and I updated my Joomla website to Joomla! 5.1.0 Stable.
After the update my blog stop showing embedded [youtube] videos (using Tinyeditor) I just get the message
"Try watching this video on www.[youtube].com, or enable JavaScript if it is disabled in your browser."
Before the update all [youtube] videos worked fine, you can see here what I mean on my developing site:
https://blogfish.duckdns.org/index.php/blog/videos
Does anyone has any idea how to fix this?
Thank you in advanced
today is Aprils 17 2024 and I updated my Joomla website to Joomla! 5.1.0 Stable.
After the update my blog stop showing embedded [youtube] videos (using Tinyeditor) I just get the message
"Try watching this video on www.[youtube].com, or enable JavaScript if it is disabled in your browser."
Before the update all [youtube] videos worked fine, you can see here what I mean on my developing site:
https://blogfish.duckdns.org/index.php/blog/videos
Does anyone has any idea how to fix this?
Thank you in advanced
- Per Yngve Berg
- Joomla! Master
- Posts: 31062
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: After update to Joomla! 5.1.0 Stable embedded videos stopped working
Your Browser needs to reload JavaScript files. clear Cache.
-
- Joomla! Fledgling
- Posts: 3
- Joined: Wed Apr 17, 2024 3:35 pm
Re: After update to Joomla! 5.1.0 Stable embedded videos stopped working
Hello, I did clear the cache but still it doesn't work
-
- Joomla! Hero
- Posts: 2966
- Joined: Fri Jul 05, 2013 10:35 am
- Location: Parts Unknown
Re: After update to Joomla! 5.1.0 Stable embedded videos stopped working
It's not a bug, it's a new feature in 5.1 .
-
- Joomla! Fledgling
- Posts: 3
- Joined: Wed Apr 17, 2024 3:35 pm
-
- Joomla! Hero
- Posts: 2966
- Joined: Fri Jul 05, 2013 10:35 am
- Location: Parts Unknown
Re: After update to Joomla! 5.1.0 Stable embedded videos stopped working
This is not a joke. Someone actually thought it made sense to force sandboxed iframes in TinyMCE. With no server-side validation no less. Your options are to use a different editor or a proper extension for embedding videos.
-
- Joomla! Champion
- Posts: 6046
- Joined: Tue Aug 23, 2005 1:56 pm
- Location: South coast, UK
- Contact:
Re: After update to Joomla! 5.1.0 Stable embedded videos stopped working
Is this a Joomla decision or Tinymce ?
https://gadsolutions.biz Electrical services
https://electrical-testing-safety.co.uk Testing services
https://electrical-testing-safety.co.uk Testing services
-
- Joomla! Fledgling
- Posts: 1
- Joined: Thu Apr 25, 2024 2:38 pm
Re: After update to Joomla! 5.1.0 Stable embedded videos stopped working
it seems to be from joomla, since I tested the library on the TinyMCE page and it works when inserting a [youtube] video.
https://www.tiny.cloud/docs/tinymce/lat ... c-example/
to get out of the problem, once I wrote an article in tinyMCE, I went to codeMirror and inserted the video and it worked.
for now I'm looking at alternative editor like JCE.
https://www.tiny.cloud/docs/tinymce/lat ... c-example/
to get out of the problem, once I wrote an article in tinyMCE, I went to codeMirror and inserted the video and it worked.
for now I'm looking at alternative editor like JCE.
-
- Joomla! Enthusiast
- Posts: 101
- Joined: Fri Aug 17, 2007 2:24 am
Re: After update to Joomla! 5.1.0 Stable embedded videos stopped working
I've spent quite a few hours today trying to embed Rumble videos in articles...
In the end, I just turned off TinyMCE and JCE and pasted the video code directly in the page. After turning back JCE on, when I went back to the page to tweak something, the code disappeared! What a pain! If you forget there is such code in an article it'll disappear if you re-edit it!
If someone has found a workable solution, I'd really appreciate it!
In the end, I just turned off TinyMCE and JCE and pasted the video code directly in the page. After turning back JCE on, when I went back to the page to tweak something, the code disappeared! What a pain! If you forget there is such code in an article it'll disappear if you re-edit it!
If someone has found a workable solution, I'd really appreciate it!
-
- Joomla! Fledgling
- Posts: 4
- Joined: Sat May 04, 2024 9:46 am
Re: After update to Joomla! 5.1.0 Stable embedded videos stopped working
Same issue with me. It adds sandbox="" to [youtube] embed. Does anyone have a fix???
-
- Joomla! Fledgling
- Posts: 4
- Joined: Sat May 04, 2024 9:46 am
Re: After update to Joomla! 5.1.0 Stable embedded videos stopped working
Finally found a way to get those embeds back.
Go to file -> Joomla/plugins/editors/tinymce/src/PluginTraits/DisplayTrait.php
Change line 463, 464 code as follows
Under plugin settings make sure you have removed iframe and script from Prohibited Elements.
Go to file -> Joomla/plugins/editors/tinymce/src/PluginTraits/DisplayTrait.php
Change line 463, 464 code as follows
Code: Select all
'sandbox_iframes' => false, //was set to true
'convert_unsafe_embeds' => false, //was set to true
Under plugin settings make sure you have removed iframe and script from Prohibited Elements.
-
- Joomla! Enthusiast
- Posts: 101
- Joined: Fri Aug 17, 2007 2:24 am
Re: After update to Joomla! 5.1.0 Stable embedded videos stopped working
Thank you!khuchkhana wrote: ↑Sat May 04, 2024 10:21 amFinally found a way to get those embeds back.
Go to file -> Joomla/plugins/editors/tinymce/src/PluginTraits/DisplayTrait.php
Change line 463, 464 code as follows
Code: Select all
'sandbox_iframes' => false, //was set to true 'convert_unsafe_embeds' => false, //was set to true
Under plugin settings make sure you have removed iframe and script from Prohibited Elements.
I wonder how "permanent" this fix is? With an upgrade will it have to be redone? Will an override work?
Thanks.
- Kubik-Rubik
- Joomla! Explorer
- Posts: 272
- Joined: Wed Aug 25, 2010 1:59 pm
- Location: Karlsruhe - Germany
- Contact:
Re: After update to Joomla! 5.1.0 Stable embedded videos stopped working
Your change will be overwritten in the following core update.
The security hardening fix was introduced with this PR: https://github.com/joomla/joomla-cms/pull/43176
Feel free to discuss the issue in the Joomla! Issue Tracker: https://issues.joomla.org/tracker/joomla-cms
The security hardening fix was introduced with this PR: https://github.com/joomla/joomla-cms/pull/43176
Feel free to discuss the issue in the Joomla! Issue Tracker: https://issues.joomla.org/tracker/joomla-cms
Cheers
Viktor
Kubik-Rubik Joomla! Extensions https://kubik-rubik.de
Former member of Joomla! Production Leadership Team, Security Strike Team and Bug Squash Team
Viktor
Kubik-Rubik Joomla! Extensions https://kubik-rubik.de
Former member of Joomla! Production Leadership Team, Security Strike Team and Bug Squash Team
- Kubik-Rubik
- Joomla! Explorer
- Posts: 272
- Joined: Wed Aug 25, 2010 1:59 pm
- Location: Karlsruhe - Germany
- Contact:
Re: After update to Joomla! 5.1.0 Stable embedded videos stopped working
I found a ticket where the problem is already discussed: https://issues.joomla.org/tracker/joomla-cms/43407
Cheers
Viktor
Kubik-Rubik Joomla! Extensions https://kubik-rubik.de
Former member of Joomla! Production Leadership Team, Security Strike Team and Bug Squash Team
Viktor
Kubik-Rubik Joomla! Extensions https://kubik-rubik.de
Former member of Joomla! Production Leadership Team, Security Strike Team and Bug Squash Team
-
- Joomla! Fledgling
- Posts: 4
- Joined: Sat May 04, 2024 9:46 am
Re: After update to Joomla! 5.1.0 Stable embedded videos stopped working
Shouldn't there be an option to disable or enable that??? I mean most of the time you need to embed YT, plus a number of other stuff too.Kubik-Rubik wrote: ↑Sat May 04, 2024 10:18 pmYour change will be overwritten in the following core update.
The security hardening fix was introduced with this PR: https://github.com/joomla/joomla-cms/pull/43176
Feel free to discuss the issue in the Joomla! Issue Tracker: https://issues.joomla.org/tracker/joomla-cms
I'm new to Joomla but it does not convince me to leave WordPress at all now due to stuff like these.
-
- Joomla! Fledgling
- Posts: 4
- Joined: Sat May 04, 2024 9:46 am
Re: After update to Joomla! 5.1.0 Stable embedded videos stopped working
Sadly its not a permanent fix and a new update will surely wipe this out. I'm not sure how an override works as I'm new to Joomla CMS. A workaround is to install TinyMCE Configuration Modifier plugin from https://github.com/nikosdion/plg_system_tinymod as macstalker said at https://issues.joomla.org/tracker/joomla-cms/43407 and then add the followingPeace Freak wrote: ↑Sat May 04, 2024 12:24 pmThank you!khuchkhana wrote: ↑Sat May 04, 2024 10:21 amFinally found a way to get those embeds back.
Go to file -> Joomla/plugins/editors/tinymce/src/PluginTraits/DisplayTrait.php
Change line 463, 464 code as follows
Code: Select all
'sandbox_iframes' => false, //was set to true 'convert_unsafe_embeds' => false, //was set to true
Under plugin settings make sure you have removed iframe and script from Prohibited Elements.
I wonder how "permanent" this fix is? With an upgrade will it have to be redone? Will an override work?
Thanks.
{
"sandbox_iframes": false
}
But personally I have not tested it yet.