Welcome!

Iframe & YouTube video in Joomla JCE Editor

When using JCE Editor (let's admit, we all do), you will find yourself in trouble sometimes, as JCE will be cleaning up your HTML code and clear iframe code, even if you have followed the steps in how to allow YouTube videos in Joomla articles which describes, how to configure Joomla to allow code inserted in articles.

To set up JCE Editor to allow iframes, go like this at first:

  1. Go to Components -> JCE Administration - > Global configurationin in your Joomla administration panel.
  2. Change Cleanup HTML to No
  3. Save settings

The second step to take to disable JCE deleting iframe code:

  1. Go to Components -> JCE Administration - > Editor profiles
  2. Select your profile (usually Default)
  3. Move to Plugin Parameters -> Media support
  4. Change Allow iFrames to Yes
  5. Save settings and enjoy adding iFrames and YouTube videos straight in JCE Editor HTML view.

An image to display JCE Editor settings at Components -> JCE Administration - > Editor profiles -> Default -> Plugin Parameters -> Media support

Joomla JCE editor settings to allow iframe and youtube video embedding in html

 

Here is a video added with JCE and with iframes from YouTube:

Comments   

 
0 #13 waiting 2013-09-06 02:57
Quoting Viv:
In my case it works only from the back end, but if I try to do it from the front end it doesn't work. Any idea why? Thanks!!

hi vivi when you choose edit profile do not choose default , you have choose fronted,then turn the iframe option on. It should be work
Report to administrator
 
 
0 #12 Joomlaboy 2013-07-02 13:20
Quoting Viv:
In my case it works only from the back end, but if I try to do it from the front end it doesn't work. Any idea why? Thanks!!

Hi Viv, I just created a new article through frontend and adding a YouTube video worked great. Did you use the option to hide the editor when including the iframe code? One option that might be a problem is that you have JCE editor profiles activated and a different profile added to the frontend. Here's the video I just added via frontend joomlaboy.com/.../...
Report to administrator
 
 
0 #11 Viv 2013-06-28 20:42
In my case it works only from the back end, but if I try to do it from the front end it doesn't work. Any idea why? Thanks!!
Report to administrator
 
 
+1 #10 marcos antonio 2013-06-01 21:01
muito obrigado, foi muito útil, Deus Abençoe.
Report to administrator
 
 
+1 #9 Sergey 2013-05-29 08:09
Thank you! Thanks from Ukraine, Good luck in your development projects!
Report to administrator
 
 
+1 #8 dkg11hu 2013-05-07 08:58
Thanks a lot! :-)
Report to administrator
 
 
0 #7 Joomlaboy 2013-04-03 13:58
Quoting Thomas:
Why would jce leave that setting to avoid iframes to begin with?

Not a clue. Maybe to restrict users unintentionally inserting potentially malicious code to their sites.
Report to administrator
 
 
0 #6 Thomas 2013-03-27 23:55
Why would jce leave that setting to avoid iframes to begin with?
Report to administrator
 
 
+1 #5 acrosknicht 2013-02-10 17:07
Thx a lot!!!

Works perfectly. :lol:
Report to administrator
 
 
+2 #4 max 2013-01-16 15:15
Sei un grande!
Report to administrator
 

You have no rights to post comments

Highly recommended

TransferWise - international money transfers half the price of the banks. Get one transfer for free.

ThemeForest - Joomla! and WordPress template marketplace


LikeLock - protect valuable links, trade them for a Like!Cover song contest and catalogue - Cover Toplist

Donate via PayPal

If any of my articles have helped you out from a difficult situation, feel free to buy me coffee!