I would like users to be able to copy and paste embed tags for videos (youtube, vimeo, etc) into the html editor of tinymce. I've tried every solution I can find on the internet - however tinymce always strips out any embed tags in the video embed code when I press update in the html editor.
Here is my current tinymce init script:
tinyMCE.init({
mode: "textareas",
valid_elements: "*[*]",
extended_valid_elements: "embed[width|height|name|flashvars|src|bgcolor|align|play|loop|quality|allowscriptaccess|type|pluginspage]",
theme: "advanced",
theme_advanced_buttons1: "code",
media_strict: false
});
If I turn off tinymce's "cleanup" functionality (cleanup : false)...which I don't want to do...then everything works as desired
I've tried many versions of extended_valid_elements and other options but found nothing that works. What am I doing wrong?
Thanks in advance, Shane