Advertisement

Embedding a [youtube] video in Article -- An Error Occured Topic is solved

General questions relating to Joomla! 5.x.

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
Post Reply
mmeservy26
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Fri Nov 08, 2024 7:38 am

Embedding a [youtube] video in Article -- An Error Occured

Post by mmeservy26 » Fri Nov 08, 2024 8:04 am

If I try to edit or create a new article with an embedded [youtube] video using an iframe I get the following error in the embedded video frame.

An error occurred
------------------------------------
Try watching the video on www.[youtube].com, or enable JavaScript if it is disabled in your browser.


Javascript is enabled in my browser. I have tried chrome, edge, firefox and they all give the same result. Any of the embedded videos that I have not tried to edit or create new work just fine in their embedded form.

To input the iframe I toggle the editor which is JCE to the source mode. I will turn off JCE and try to edit and see if it is a JCE issue.

I am using the latest version of Joomla 5.

Advertisement
User avatar
AMurray
Joomla! Master
Joomla! Master
Posts: 10329
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Embedding a [[[youtube]]] video in Article -- An Error Occured

Post by AMurray » Fri Nov 08, 2024 9:04 am

does the video play normally on [youtube]?

How are you embedding it?

If using the YT code I think it's 'iframe', you may need to add it to the 'whitelist' tag filtering under Text filtering in Global Configuration.

Make sure first it's not the video on You Tube itself that is the problem.

JCE (or TinyMCE) may also have configuration settings for allowing specific HTML tags which are deemed a security issue in some circumstances, and Joomla may be removing it for 'safety' reasons.
Regards - A Murray
General Support Moderator

mmeservy26
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Fri Nov 08, 2024 7:38 am

Re: Embedding a [[[youtube]]] video in Article -- An Error Occured

Post by mmeservy26 » Fri Nov 08, 2024 9:06 am

I found the problem. . . My default editor got change the Tiny MCE. I normally use JCE Pro. switching the default editor fixed the problem. Please close this request.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 31390
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Embedding a [[[youtube]]] video in Article -- An Error Occured

Post by Per Yngve Berg » Fri Nov 08, 2024 11:28 am

There are Ut Players in the JED. Better results.

Advertisement

Post Reply

Return to “General Questions/New to Joomla! 5.x”