| Twiebie |
|
|---|---|
|
I've found a good YouTube embed plugin for CKEditor. http://riseofthephx.com/2010/10/13/adding-vimeoyoutube-iframe-embed-to-ckeditor/
Thought i'd share it |
| lukgoh |
|
|---|---|
|
Thanks Twiebie, how do you install it though? I added the folder to the CKEditors plugins folder and updated the CKEditor plugin with no success. |
| Twiebie |
|
|---|---|
|
That should be it really. Mind you that it's case sensitive! |
| Fox |
|
|---|---|
|
Thank you! It would be useful ХаЧу ЧПУ для форума!!! ХаЧу ДаКуменцию к ДвИжКу!!! ХаЧу АпиСания TPL ТаГов!??
|
| lukgoh |
|
|---|---|
|
['Image','Flash','youtube','Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe'], - doesn't do anything :s |
| Twiebie |
|
|---|---|
|
Have you also included this at the bottom of your config.js file? config.extraPlugins = 'youtube'; |
| lukgoh |
|
|---|---|
|
Just added it. Didn't do anything... |
| Twiebie |
|
|---|---|
|
Try this in config.js: ['Image','Flash','Youtube','Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe'], And make sure this is at the bottom: config.extraPlugins = 'youtube'; |
| lukgoh |
|
||
|---|---|---|---|
|
Thanks Twiebie I accidently had the
outside of the closing tag, I was just being an idiot. New problem though, after inputting the youtube video and clicking submit, it simply removes it, leaving only the text I have typed out... Any ideas?
|
| Twiebie |
|
|---|---|
|
Does it create a div or anything, or just simply nothing? |
| lukgoh |
|
|---|---|
|
When I first add the Youtube video it shows a white box in CKEditor with a red Iframe box, then after clicking publish it shows nothing but the empty paragraph tags from where I was making space for the text... |
| pieter |
|
|---|---|
|
Was there a solution, because I have the same issue. Also if I add manually the iframe to the code. ... can we help you ...
|
| Twiebie |
|
|---|---|
|
Is it maybe because of the HTML purifier plugin? |
| pieter |
|
|---|---|
|
yes it is, I paused it, and problem solved Added 12 minutes later: Is it safe to disable it? ... can we help you ...
Dit bericht is bewerkt door pieter (2012-10-03 17:25, 13 jaren ago) |
| Trustmaster |
|
|---|---|
|
It isn't safe to disable htmlpurifier. Please read this and have a look into plugins/htmlpurifier/presets folder. May the Source be with you!
|