TinyMCE changing "&" to "&"

Permalink
Hello,
I'm trying to use the TinyMCE editor to embed a flash object (its an Mp3 player). I can open the editor, then go edit the HTML source, and paste in the <object> code. The problem is that my swf file needs to have some config vars passed to it, and they are seperated by a "&". It seems that TinyMCE converts it when saving, and then the swf file does not function as expected.
For Example,
<object type="application/x-shockwave-flash" data="/player_mp3_multi.swf" width="400" height="150">
<param name="movie" value="/player_mp3_multi.swf">
<param name="FlashVars" value="config=/config.txt&playlist=/playlist.txt">

Becomes:
<object type="application/x-shockwave-flash" data="/player_mp3_multi.swf" width="400" height="150">
<param name="movie" value="/player_mp3_multi.swf">
<param name="FlashVars" value="config=/config.txt&playlist=/playlist.txt">
</object>

Any idea how I can get around this?

MetalOnes
 
MetalOnes replied on at Permalink Reply
MetalOnes
Sorry, I totally forgot the code tag. Let's try that again:
<object type="application/x-shockwave-flash" data="/player_mp3_multi.swf" width="400" height="150">
<param name="movie" value="/player_mp3_multi.swf">
<param name="FlashVars" value="config=config.txt&playlist=play.txt">
</object>


Becomes
[code]
<object type="application/x-shockwave-flash" data="/player_mp3_multi.swf" width="400" height="150">
<param name="movie" value="/player_mp3_multi.swf">
<param name="FlashVars" value="config=config.txt&amp;playlist=play.txt">
</object>
MetalOnes replied on at Permalink Reply
MetalOnes
Sorry I jumped the gun... while what I wrote above is actually happening, it wasn't the problem. The problem actually was with my playlist file (needed the paths fixed).

Issue resolved!

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.