I'm using
TinyMCE v2.1.0 as my CMS WYSIWYG editor. I needed an mp3 player for my site and I made my own plugin to make inserting music files more comfortable. My plugin inserts code like this:
Code:
<embed type="application/x-shockwave-flash" flashvars="file=mp3file.mp3" pluginspage="http://www.macromedia.com/go/getflashplayer" bgcolor="#FFFFFF" height="70" width="300" src="mp3player.swf"></embed>
But the problem is that the editor immediately deletes this code. I found that it "cleans up" HTML, but I don't want it to delete my own code, it's just not right! I tried to resolve the problem following
this, but it didn't work for me. What do I have to do to make my plugin work correctly?