This is a rework of the plugin designed by frozeman and meedan adjusted for the specific use of embedding YouTube videos in a responsive way.
#Installing the MediaEmbed Plugin
- Copy the "mediaembed" folder and place it in the ~/ckeditor/plugins directory.
- Enable the plugin by changing or adding the extraPlugins line in your configuration (config.js):
config.extraPlugins = 'mediaembed';
- Add the button to your toolbar by adding the
Mediaembed
item to the toolbar list. - Include the styles/mediaembed.css file in the head of the page that the edited content will appear on.