This post is on how to configure TinyMCE to allow embed tags which TinyMce
is stripping when the user press the Update button in the HTML editor.
When you are embedding Youtube videos,you’ll just have to get the embed code in the video page and just paste it in the editor.The editor(by default) strips out the embed tags in the embed code leaving only the object code and some params.The code that is stripped out will still play in Mozilla Firefox and Google Chrome but doesn’t play or doesn’t even show up in Internet Explorer.IE needs the embed tag for it to play.Here’s how the configuration for it to allow embed tags:
In your TinyMCE init, include the media plugin and set the media_script to false.
tinyMCE.init({ //your other options here plugins: "media", //you can include other plugins that you will need here // allow embed tags media_strict: false });
That’s it.You can read more about TinyMCE’s media_script configuration by clicking here.
- Tags: allowing tags in TinyMCE, embed tags valid_elements TinyMCE, Embedded videos not working in IE solution, Embedded videos not working in IE using TinyMCE solution, media_script plugin TinyMCE, Youtube embed videos not working in IE solution, Youtube embed videos not working in Internet Explorer solution, Youtube embed videos not working in TinyMCE solution













1 Response to Configuring TinyMCE to allow embed tags
בניית אתרים
April 12th, 2011 at 3:37 pm
how can i put custom tags in order to send emails personaly by name