Adding an alter to deal with media in a wysiwyg editor for ckeditor.