Hi All,
I am desperately looking for a solution to integrate a simple way to insert Youtube movies. Now I have to give my users acces to the code button to have them insert a youtube <object>. However, this obviously is not a very ideal solution.
So, I need a plugin or a simple way to insert a html snippet into the editor without acces to the html source. Can anyone help me out on this one?
Thanks!
I am desperately looking for a solution to integrate a simple way to insert Youtube movies. Now I have to give my users acces to the code button to have them insert a youtube <object>. However, this obviously is not a very ideal solution.
So, I need a plugin or a simple way to insert a html snippet into the editor without acces to the html source. Can anyone help me out on this one?
Thanks!
Re: Integrate Youtube
I'm actually working on the exact same problem for our company. So far, we are creating a 'Dialog' window that the user would enter in the necessary fields (youtube URL, width, size, etc.) . So if that gives you an idea of one way to do it.
At this point I've got the dialog window up with a few fields. The next step will be to program the event for when the user hits the 'OK' button to insert the appropriate HTML where the cursor is. I'll keep a look out for your posts on the forum since we may share ideas etc.
Re: Integrate Youtube
Any luck with the issue above?
Seems the CKEditor messes object, embed and param html tags somehow when I enter them manually (for example when I try to paste some youtube video html code) and then switch to Source mode and back... that's strange since "insert flash" button works ok...
Please post any ideas on how to deal with the problem
Thanks in advance
Re: Integrate Youtube
I have to do it in source view and submit, but when I re-edit that item, it deletes half the code and ruins it.
Ideas???
Re: Integrate Youtube
it seems you can use the flash embed to insert youtube video using url, but... it uses object and not swfobject which is what I am currently working on now I did find this http://martinezdelizarrondo.com/swfobject/ but its for fck no ck editor and I don't have any experience creating plugins so its gonna take me quite some time to figure out how to convert it I already contacted the developer and he said the he may convert in the future.
I personally don't want the user have that many options I would want the user to simply provide me with the youtube id and have the plugin do the rest.
Maybe we can create a group of us to work on the development of this plugin since it seem to be very sought after ?
also I started working on plugin before I got found the one for fck but I am of course having trouble you can see my post about it http://cksource.com/forums/viewtopic.php?f=11&t=17468
Mike
Re: Integrate Youtube