I found the following plugin for ckeditor that allows you to Embed YouTube, Vimeo, etc.
http://www.fluidbyte.net/index.php?view=embed-youtube-vimeo-etc-into-cke...
The install instructions are simple, but I can't get it working.
1. Copy the "mediaembed" folder and place it in the ~/ckeditor/plugins directory.
2. Enable the plugin by changing or adding the extraPlugins line in your configuration (config.js): config.extraPlugins = 'MediaEmbed';
3. Add the button to your toolbar by adding the 'MediaEmbed' item to the list.
I follow the instructions and on step 3 I edit ckeditor.config.js, adding 'MediaEmbed' to the list. However the button never shows up in ckeditor. What do you all make of this ?
Comment | File | Size | Author |
---|---|---|---|
#16 | mediaembed.tgz | 498 bytes | noomz |
#15 | mediaembed.tgz | 498 bytes | noomz |
#3 | mediaembed.zip | 1.39 KB | mephir |
#2 | mediaembed.tar_.gz | 1.2 KB | mephir |
#1 | ckeditor-655938.patch | 1.89 KB | mephir |
Comments
Comment #1
mephir CreditAttribution: mephir commentedUnpack it to ckeditor/plugins module directory, near drupalbreaks. Apply this patch attached here. After that you should properly configure Input Formats. Drupal Filtered will be cutting off embed elements.
Comment #2
mephir CreditAttribution: mephir commentedHere is corrected mediaembed plugin, without iframe in dialog.
Comment #3
mephir CreditAttribution: mephir commentedVersion with zip compression
Comment #4
wwalc CreditAttribution: wwalc commentedThis plugin is now available in the CKEditor module. Please download the 6.x-1.x-dev release, once you'll see that it has been created on 10th December (or later), and check README.txt for instructions. Let me know if you had any problems with installation.
Comment #5
bryancasler CreditAttribution: bryancasler commentedWorked great, no problems from getting it to work, however.... now a new problem with the actual plugin has arised.
If I enter the following code in the plugin...
The plugin formats it to...
Now the youtube flash object successfully shows up in the editor.
The Problem
If I select the youtube flash object in the editor and delete it, then the editor "appears" to be empty. However if I save/preview the node the youtube video will still show up. Going back into the "empty" editor and clicking "Source" reveals that the following youtube embed code still remains inside the editor.
Not really sure what is going on here and would appreciate any feedback since this kind of defeats the point of WYSIWYG.
Comment #6
wwalc CreditAttribution: wwalc commentedConfirmed, this shouldn't work like that.
Comment #7
mephir CreditAttribution: mephir commentedChanges to media embed plugin was commited to cvs. Problem is solved, but it change some functionality, you couldn't resize embeded object, but it is temporary inconvenience.
Comment #8
bryancasler CreditAttribution: bryancasler commentedI can confirm that youtube videos can be embeded and 100% deleted now, also as mentioned in the editor you can resize the video, but it has no impact on the actual output.
Comment #9
mephir CreditAttribution: mephir commentedResize feature added, changes commited to cvs.
Comment #10
bryancasler CreditAttribution: bryancasler commentedI can confirm the re-size works as well.
Comment #11
wwalc CreditAttribution: wwalc commented@animelion - thanks for testing!
Comment #13
compujohnny CreditAttribution: compujohnny commentedHere is a nice screencast on How to add Youtube, Vimeo or any other embed content to CKeditor
Comment #14
drewcjm CreditAttribution: drewcjm commentedThis plugin quit working after updating to Firefox 3.6.10. It appears the plugin does not finish converting the code. All that displays after saving is "Flash Animation".
Comment #15
noomz CreditAttribution: noomz commentedFull module is attached.
Comment #16
noomz CreditAttribution: noomz commentedFail upload, second try.
Comment #17
mkesicki CreditAttribution: mkesicki commentedComment #18
subhojitmukherjee CreditAttribution: subhojitmukherjee commentedHow can i implement it on CKEditor with WYSIWYG editor?
Comment #19
mkesicki CreditAttribution: mkesicki commented@subhojitmukherjee,
did you mean WYSIWYG module for drupal ?
Comment #20
fureigh CreditAttribution: fureigh commentedIf you're trying to integrate the mediaembed plugin with a CKEditor setup of WYSIWYG module, try http://drupal.org/project/wysiwyg_mediaembed.
Comment #21
das-peter CreditAttribution: das-peter commentedPlease have a look at #1504696: Integration with CKEditor module
The provided patch should be allow to insert whatever file type is dealt with and the output will be defined by the file display settings of the media module.
Comment #22
KarthicK SrinivasaN CreditAttribution: KarthicK SrinivasaN as a volunteer and commentedWYSIWYG editor works fine, but I need exclusive icons that supports only YOU-TUBE and VIMEO videos that has to be embed them in the content as an iframe.
Am currently using
CKEditor 3.6.5.7647 library and wysiwyg 7.x-2.2 module.