This CKEditor plugin will add a supplementary button in the editor toolbar, opening a dialog popup where you'll be able to paste in any snippet of HTML code, for exemple Youtube video embed code.
Get the source archive and uncompress it into the plugins
folder of your CKEditor installation.
Enable the plugin adding this setting to your CKEditor config.js
file:
config.extraPlugins = 'MediaEmbed';
Enable the button by adding it to your editor's toolbar configuration:
CKEditor.replace('id_of_textarea', {
toolbar: 'Blah',
toolbar_Blah: [
['Image', 'Flash', 'MediaEmbed']
]
});
This plugin code is based on the work of Kent Safranski.