unable to embed [youtube] videos after upgrade to 1.5.14

This forum is for general questions about extensions for Joomla! version 1.5.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
hayknet
Joomla! Apprentice
Joomla! Apprentice
Posts: 23
Joined: Thu May 21, 2009 5:51 am

unable to embed [youtube] videos after upgrade to 1.5.14

Postby hayknet » Thu Sep 17, 2009 1:11 pm

hey guys!

I am unable to embed [youtube] videos after upgrade to 1.5.14. it worked perfectly fine on the older version I used to use the embed media function if the tinyMCE editor but after the I cannot embed [youtube] videos anymore.

anyone has an idea what happened? how can i fix it?

thanx

User avatar
imanickam
Joomla! Master
Joomla! Master
Posts: 26254
Joined: Wed Aug 13, 2008 2:57 am
Location: Chennai, India

Re: unable to embed [youtube] videos after upgrade to 1.5.14

Postby imanickam » Thu Sep 17, 2009 1:37 pm

Try the following:

Open the plugin Editor - TinyMCE for edit in the Plugin Manager (Extensions -> Plugin Manager) and set the parameters as follows:

(a) Functionality to Extended

(b) Code cleanup on save to Never or Front Only


In case if the previous version of Joomla! is 1.5.7 or less, review the following link for additional information.

http://docs.joomla.org/Why_does_some_HTML_get_removed_from_articles_in_version_1.5.8%3F
- Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
http://www.eegan.org - helping the poor and underprivileged
educate. empower. enrich.
Support the poor and underprivileged

papershark
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Fri Aug 21, 2009 5:29 pm

Re: unable to embed [youtube] videos after upgrade to 1.5.14

Postby papershark » Fri Sep 18, 2009 8:06 pm

Hi there... i am having the exact same problem with trying to enter some object code that is getting cleaned up. I have made the changes you lay out but the cod that i drop in im 'html mode' of the mce editor get cleaned up from this

<object width="425" height="344"><param name="movie" value="http://www.[youtube].com/v/hxjmu4skZX0&hl=en&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.[youtube].com/v/hxjmu4skZX0&hl=en&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>


into this

<p><img title="&quot;allowFullScreen&quot;:&quot;true&quot;,&quot;allowscriptaccess&quot;:&quot;always&quot;,&quot;src&quot;:&quot;http://www.[youtube].com/v/hxjmu4skZX0&amp;hl=en&amp;fs=1&amp;&quot;,&quot;allowfullscreen&quot;:&quot;true&quot;" class="mceItemFlash" src="http://hotw.papersharkmedia.co.uk/plugins/editors/tinymce/jscripts/tiny_mce/plugins/media/img/trans.gif" mce_src="plugins/editors/tinymce/jscripts/tiny_mce/plugins/media/img/trans.gif" height="344" width="425"></p>


the above does not work, and i can see no you tube film posted in site :(
This is really quite frustrating given that this all used to just work before the updates.

User avatar
imanickam
Joomla! Master
Joomla! Master
Posts: 26254
Joined: Wed Aug 13, 2008 2:57 am
Location: Chennai, India

Re: unable to embed [youtube] videos after upgrade to 1.5.14

Postby imanickam » Fri Sep 18, 2009 8:13 pm

(a) What version of Joomla! are you using?

(b) Check whether the following thing is taken care.
http://docs.joomla.org/Why_does_some_HTML_get_removed_from_articles_in_version_1.5.8%3F
- Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
http://www.eegan.org - helping the poor and underprivileged
educate. empower. enrich.
Support the poor and underprivileged

papershark
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Fri Aug 21, 2009 5:29 pm

Re: unable to embed [youtube] videos after upgrade to 1.5.14

Postby papershark » Fri Sep 18, 2009 9:04 pm

hello imanickam, many thanks for the quick reply.

I am on Version 1.5.14

I have tried to apply what is in this document
http://docs.joomla.org/Why_does_some_HTML_get_removed_from_articles_in_version_1.5.8%3F
although i have to say this this one of those odd area that needs to be better labled... it hard to know what you are switching on/off for who.

now I have has some bizarre effects... if i use the jce editor and i save in raw html mode I can get the object tag in intact. (note: the JCE editor does not have a pop up window but
If i switch back to TinyMCE editor i try to click the html button... ad the code, close the html pop-up and if i open it again the html pop-up again... the code has been altered into something that is broken. (as above)

This is not happening on save. this is happening ad-hoc within TinyMCE.

If i switch off the code editor (no Editor) i can drop in code (such flash links within the object tag) that works exactly as I expect.

I'm sorry to be a pain... if it were just for me i would use the work around but i have someone using the site that that relies on the editor.

Any insight is welcome. many thanks in advance
Last edited by papershark on Fri Sep 18, 2009 9:59 pm, edited 3 times in total.

User avatar
imanickam
Joomla! Master
Joomla! Master
Posts: 26254
Joined: Wed Aug 13, 2008 2:57 am
Location: Chennai, India

Re: unable to embed [youtube] videos after upgrade to 1.5.14

Postby imanickam » Fri Sep 18, 2009 9:09 pm

I am glad that things are working. The behavior that you explained about Tiny MCE editor is very true. Lots of developers have aired this concern in various posts. Unfortunately, until 1.5.15 comes up, one has to know how to live with this.

I always suggest using other editors by the mean time. I have found that JCE and FCK are good editors.
- Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
http://www.eegan.org - helping the poor and underprivileged
educate. empower. enrich.
Support the poor and underprivileged

papershark
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Fri Aug 21, 2009 5:29 pm

Re: unable to embed [youtube] videos after upgrade to 1.5.14

Postby papershark » Fri Sep 18, 2009 10:08 pm

Ahhhhhhhh!
ok that's a real weight of my shoulders... i have spent the day tinkering with TinyMCE set-up and the paramertes and settings throughout Joomla... and most of my forum searches have been around Joomla settings. (i have been a joomla user for over a year and always found a solution here... and only today was driven to post)

Its just a relief to know that this is a known issue, and i can drop it. I will investigate FCK on Monday and report back the best solution find for my issue here.

Once again... many many thanks for such a swift reply

cbdh19
Joomla! Intern
Joomla! Intern
Posts: 65
Joined: Tue Aug 04, 2009 3:05 pm

Re: unable to embed [youtube] videos after upgrade to 1.5.14

Postby cbdh19 » Mon Sep 28, 2009 4:01 am

I know this thread is old, but I'll post and see if I get some help.

I also cannot get flash videos to embed with joomla 1.5.14 (I had no problems with 1.5.8).

I followed all the steps that have been recommended here, and on the link, and I still cannot get it to work with Tiny MCE.

Is moving to JCE the only option if I want to embed flash videos successfully? Is there something else I can try besides what's already been suggested?

(I'd rather not move to JCE as my pages have a dark background and it's impossible to use JCE with a dark background unless you re-work the CSS, and tinker with a .php file, which I'd rather not do).

cbdh19
Joomla! Intern
Joomla! Intern
Posts: 65
Joined: Tue Aug 04, 2009 3:05 pm

Re: unable to embed [youtube] videos after upgrade to 1.5.14

Postby cbdh19 » Mon Sep 28, 2009 4:18 am

It's not a great workaround. But what I'm doing is for articles that I want to embed a [youtube]/flash video in, I'll use JCE just to embed the code, then switch back to Tiny MCE for everything else.

Clearly, the embed video problem is a Tiny MCE problem.

And, if anyone still has other suggestions about fixing Tiny MCE so I don't have to do this workaround, switching from one editor to the other, I'd love to hear them!

tonyworship
Joomla! Intern
Joomla! Intern
Posts: 65
Joined: Sat Jan 24, 2009 7:54 am
Contact:

Re: unable to embed [youtube] videos after upgrade to 1.5.14

Postby tonyworship » Mon Sep 28, 2009 6:13 pm

after long hours and searching all kinds of forums for a solution to this problem, i have found something that works!
I am using the JCE editor and for the longest time couldn't get it to embed flash , [youtube] etc...

1. go to the backend of your website and click Article Manager
2. Click Parameters
3. scroll all the way down and highlight as shown in the picture below
Image


after this step, it all worked fine for me!

Radix__
Joomla! Intern
Joomla! Intern
Posts: 60
Joined: Sat Jul 04, 2009 1:44 am

Re: unable to embed [youtube] videos after upgrade to 1.5.14

Postby Radix__ » Wed Oct 07, 2009 8:36 am

Unfortunately your solution doesn't work for TinyMCE. Good that you've got it working for JCE, however, it would be even better if we could get the <EMBED> tag working in TinyMCE too!

I've got exactly the phenomenon described by Papershark in his post above
(http://forum.joomla.org/viewtopic.php?p=1856597#p1856597)

tonyworship
Joomla! Intern
Joomla! Intern
Posts: 65
Joined: Sat Jan 24, 2009 7:54 am
Contact:

Re: unable to embed [youtube] videos after upgrade to 1.5.14

Postby tonyworship » Wed Oct 07, 2009 6:28 pm

well there is a free [youtube] plugin you can use for the time being untill the problem is fixed.
Here it is

Code: Select all

http://extensions.joomla.org/extensions/external-contents/video-channels/3659


It's recieved high marks and I've used it many times. Works good to. Now i just use the JCE to make a pop
up video appear in a lightbox effect. easy to do and fast. might wanna consider getting JCE. so much cool
things you can do with it.

User avatar
GoodTimesJeff
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Mon Jul 06, 2009 7:34 pm
Contact:

Re: unable to embed [youtube] videos after upgrade to 1.5.14

Postby GoodTimesJeff » Fri Nov 13, 2009 11:47 pm

Hi All, i solved this, in JCE need to have set Script Mode in the Media Object parameters (JCE Group Manager Plugin Parameters) to No, and the movie will be embedded using the html object/embed elements. ;D

geronimo73
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Sun Sep 13, 2009 12:54 pm

Re: unable to embed [youtube] videos after upgrade to 1.5.14

Postby geronimo73 » Sun Nov 15, 2009 8:03 am

GoodTimesJeff wrote:Hi All, i solved this, in JCE need to have set Script Mode in the Media Object parameters (JCE Group Manager Plugin Parameters) to No, and the movie will be embedded using the html object/embed elements. ;D

Oh no...I have th same problem with Joomla 1.5.15. I've tried to click on JCE Group Manager Plugin Parameters but it appears this error message: "You don't have the right authorization to open this parameters". But I'm Super Administrator !!

Please help me. :'(

I'm stupid :laugh: :D I did the same activity by JCE Administration in Components !

Oh no. I did it as the image attached. Please help me becuase the embed did'nt work and it have the same effect to the original post !
You do not have the required permissions to view the files attached to this post.

Radix__
Joomla! Intern
Joomla! Intern
Posts: 60
Joined: Sat Jul 04, 2009 1:44 am

Re: unable to embed [youtube] videos after upgrade to 1.5.14

Postby Radix__ » Tue Nov 17, 2009 12:17 pm

I don't know if you guys noticed, but this topic is about TinyMCE, The non-functioning embed function in TinyMCE.

Please read the other posts before you hit the reply button with your problem.

cbdh19
Joomla! Intern
Joomla! Intern
Posts: 65
Joined: Tue Aug 04, 2009 3:05 pm

Re: unable to embed [youtube] videos after upgrade to 1.5.14

Postby cbdh19 » Tue Nov 17, 2009 4:27 pm

Thanks Radix_

BTW, does anyone know if video embed is working for TinyMCE with joomla 1.5.15?

If it is, I might update from 1.5.14.

User avatar
GoodTimesJeff
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Mon Jul 06, 2009 7:34 pm
Contact:

Re: unable to embed [youtube] videos after upgrade to 1.5.14

Postby GoodTimesJeff » Tue Nov 17, 2009 6:58 pm

MAke sure JCE is assigned in the User Manager as the default editor to the specific SuperAdmin user before you try to change parameters.
My Best regards, GoodTimesJeff http://www.goodtimessantacruz.com

Radix__
Joomla! Intern
Joomla! Intern
Posts: 60
Joined: Sat Jul 04, 2009 1:44 am

Re: unable to embed [youtube] videos after upgrade to 1.5.14

Postby Radix__ » Wed Nov 18, 2009 1:12 am

cbdh19 wrote:BTW, does anyone know if video embed is working for TinyMCE with joomla 1.5.15?


Upgrading to 1.5.15 didn't improve anything on this issue unfortunately as I found out :(

satzdom
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Mon Aug 24, 2009 6:22 am

Re: unable to embed [youtube] videos after upgrade to 1.5.14

Postby satzdom » Mon Feb 22, 2010 10:20 am

If this about stripping embed tags while saving the article, I have a fix for it.

"This is caused by the inbuilt security measures in joomla. There is a filtering mechanism that plays behind the scene while saving the articles. To protect the joomla website, from attackers, by preventing the users with edit access to insert malicious codes into the articles. This filtering rules will be applied just before an article is saved after the change."

I have put this fix in my blog for all. Please check
http://www.tutorials2learn.com/?p=448 .
Forget not to comment your feedback.
Warm Regards,
Satheesh K Dominic

http://www.tutorials2learn.com

Radix__
Joomla! Intern
Joomla! Intern
Posts: 60
Joined: Sat Jul 04, 2009 1:44 am

Re: unable to embed [youtube] videos after upgrade to 1.5.14

Postby Radix__ » Thu Feb 25, 2010 11:34 am

Sorry satsdom, this doesn't fix. Also, "your" solution was already mentioned by tonyworship a few posts above, and doesn't fix the problem.

cbdh19
Joomla! Intern
Joomla! Intern
Posts: 65
Joined: Tue Aug 04, 2009 3:05 pm

Re: unable to embed [youtube] videos after upgrade to 1.5.14

Postby cbdh19 » Thu Feb 25, 2010 7:52 pm

I finally just switched to JCE, which I'd been avoiding because of a dark template background that made it hard for me to use JCE. The JCE help page suggested a complicated CSS/template manuveur to fix this. But in another Joomla forum thread (sorry, can't remember which one now), someone suggested going into JCE's configurations and setting the "Edit content class" to "high contrast".

This removed the dark background in my JCE text box (except for the pop-up insert Word text box, but that's not a problem), and I've been using JCE ever since.

I know this is a bit off topic, but I thought if there were others out there avoiding the switch from Tiny MCE to JCE because of the text-box dark background issue, and still dealing with flash file embed problems, they might now be able to move to JCE and leave these problems (and Tiny MCE) in the dust.

Radix__
Joomla! Intern
Joomla! Intern
Posts: 60
Joined: Sat Jul 04, 2009 1:44 am

Re: unable to embed [youtube] videos after upgrade to 1.5.14

Postby Radix__ » Fri Feb 26, 2010 6:52 am

I got my problem fixed.

Contrary to what someone stated previously, the solution for me was to change:
Code Cleanup from Never to... Always!

darlintonp
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Fri Mar 05, 2010 6:46 pm

Re: unable to embed [youtube] videos after upgrade to 1.5.14

Postby darlintonp » Fri Mar 05, 2010 6:52 pm

Ok, i have the final solution

first you have to set the article preferences, selecting at last 2 user leves that will not can add vids, and selecting the black list radio button, save this.

now go to the plugin mananger, TinyMCE, and set Clean code on start to off; set Clean code on save to Always(belive-me, it works) and Entity Encoding to raw.

Ok, now clean your cache and the tags no longer will be clean.

User avatar
barnett
Joomla! Intern
Joomla! Intern
Posts: 76
Joined: Fri Aug 19, 2005 12:52 pm
Location: Nyack, NY

Re: unable to embed [youtube] videos after upgrade to 1.5.14

Postby barnett » Fri Mar 26, 2010 3:15 pm

I was able to fix the TinyMCE extended mode problem here:
viewtopic.php?f=34&t=257708&start=30

basically:
Clean code on start to off
Clean code on save to never
Entity Encoding to raw
Media to hide
http://www.contemplatedesign.com/ - Joomla Development & Design

PatriotsNetwork
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Fri Apr 09, 2010 9:34 pm

Re: unable to embed [youtube] videos after upgrade to 1.5.14

Postby PatriotsNetwork » Sat Jul 03, 2010 11:18 pm

GoodTimesJeff wrote:Hi All, i solved this, in JCE need to have set Script Mode in the Media Object parameters (JCE Group Manager Plugin Parameters) to No, and the movie will be embedded using the html object/embed elements. ;D

Thanks,this worked great for me!

User avatar
piotr_cz
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 164
Joined: Mon Mar 30, 2009 11:27 am
Location: Europe
Contact:

Re: unable to embed [youtube] videos after upgrade to 1.5.14

Postby piotr_cz » Tue Sep 28, 2010 4:33 pm

barnett wrote:I was able to fix the TinyMCE extended mode problem here:
viewtopic.php?f=34&t=257708&start=30

basically:
Clean code on start to off
Clean code on save to never
Entity Encoding to raw
Media to hide


Setting Show Media: hide helped me.
It's really strange, tinyMCE is stripping out the <embed> code even on their demo page.

Oh, you may also add these in Extended Valid Elements parameter:

Code: Select all

object[width|height],param[name|value],embed[width|height|src|type|allowscriptaccess|allowfullscreen]


UPDATE:
in order for this to work in the frontend, you MUST select at least one option in Articles -> parameters -> Filter Groups. So if you don't want any filtering, select 'public frontend'.
Joomla 1.5.20

User avatar
kieranross05
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Fri Oct 01, 2010 1:10 pm

Re: unable to embed [youtube] videos after upgrade to 1.5.14

Postby kieranross05 » Sun Nov 28, 2010 11:33 pm

Please help me. I've been searching the web for weeks and I can't get a solution. My problem is html and I need a code to hide the time line and play button on the [youtube] videos.
I have no issues posting the [youtube] video on my site but I want the timeline and play button to be hidden or gone. I have it on autoplay at the moment.

I know there is a html code as I used it once but never saved it. Now I really want it and can't find it.

Can anyone advise?? Please help! Your comments would be greatly appreciated.

cathay88
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Jun 09, 2011 10:21 am
Contact:

Re: unable to embed [youtube] videos after upgrade to 1.5.14

Postby cathay88 » Fri Jun 10, 2011 11:01 am

kieranross05 wrote:I need a code to hide the time line and play button on the [youtube] videos.

but it just disappears automatically


Return to “Extensions for Joomla! 1.5”

Who is online

Users browsing this forum: No registered users and 1 guest