Log in or register to post comments
Last post
bongobongo's picture
Joined: 21/07/2007
Posts: 29
CKEditor for Joomla 1.6 - How do you insert a YouTube video?
Hi

I have tried the CKEditor for Joomla 1.6

How do I insert a video like the one below into the text area of the editor?

http://www.youtube.com/watch?v=sWak_bUHDm8&feature=player_embedded


I have tried to use the Flash button, but it does not seem to work.

Doing the same thing using TinyMCE editor (the default Joomla editor), works fine though.

What do I have to do to make this work?
mkesicki's picture
Joined: 28/10/2010
Posts: 348
Re: CKEditor for Joomla 1.6 - How do you insert a YouTube vi
Hi,
I will investigate this in free time.
bongobongo's picture
Joined: 21/07/2007
Posts: 29
Re: CKEditor for Joomla 1.6 - How do you insert a YouTube vi
NOTE:

If using TinyMCE... when inserting the video into the texarea of the editor, then there is only a yellow placeholder for the video. It would have been very nice if possible to see at least an image-grab of the inserted video instead of a colored area.

TinyMCE and video works but is not very intuitive to edit since you do not know which yellow box represent which video..., you have to compare with the frontend.

Now, if CKeditor for Joomla could make it better.... that would be great.
mkesicki's picture
Joined: 28/10/2010
Posts: 348
Re: CKEditor for Joomla 1.6 - How do you insert a YouTube vi
Hi,
can you explain to me how you add video in TinyMce ? In my joomla it doesn't work - only link to video is shown after article save.

Now, if CKeditor for Joomla could make it better.... that would be great.

This is request for ckeditor itself not only component to joomla.
bongobongo's picture
Joined: 21/07/2007
Posts: 29
Re: CKEditor for Joomla 1.6 - How do you insert a YouTube vi
First you have to set "Functionality" to Extended, in Plug-in Manager: Editor - TinyMCE.

Then, probably, to be able to save the video properly with the article, you have to do one of the two options below:

The fast and dirty way (hack), search for "An ugly hack" in the link below:
http://joomlacode.org/gf/project/joomla ... m_id=21338

The other method is to:
Go to: Article Manager: Articles
Click the "Options" button.
Click the "Text filters" tab.
Now you have to set proper Black-list and/or White-list.
I have not used this method, mainly because you will have to enable everything, as I have pointed out in this bug-report:
http://joomlacode.org/gf/project/joomla ... m_id=23207

If following the above instructions... you should be able to insert a video using TinyMCE, e.g. by inserting a link like this after clicking "Insert / Edit embedded media" and pasting
http://www.youtube.com/watch?v=sWak_bUH ... r_embedded
into the "File / Url" field
mkesicki's picture
Joined: 28/10/2010
Posts: 348
Re: CKEditor for Joomla 1.6 - How do you insert a YouTube vi
Hi,
in my case adding youtube videos with TinyMce doesn't work, but this is not a main topic of this post.
To embed yt video you can currently do this:
- use media embed plugin (there is a special button in component configuration layout settings tab), but in this case you have to paste embed string from youtube like
<object width="640" height="390"><param name="movie" value="http://www.youtube.com/v/sWak_bUHDm8?fs=1&amp;hl=pl_PL"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/sWak_bUHDm8?fs=1&amp;hl=pl_PL" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="390"></embed></object>

- try use this patch http://dev.ckeditor.com/ticket/5184 to flash plugin

I will give you a note when new plugin to do this arrives.