I snipped out bits of the standard 8tracks embed code to get something that wouldn't generate an error when sent as application/xhtml data. In doing so, I must have snipped something to bork Firefox support. What exactly does Firefox interpret differently?

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
 codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"
 width="100%" height="80"> 
<param name="movie" value="http://8tracks.com/mixes/58258/player_v2" /> 
<param name="allowscriptaccess" value="always" /> 
<param name="FlashVars" value="bg_color=_ff9f24" /></object>

2 answers

0
points
This was chosen as the best answer

So the issue was that the <embed> tags were missing, and then that I had a line break that was making textile stop rendering the html block. Fixed it looks like this:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
 codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"
 width="100%" height="80"> 
<param name="movie" value="http://8tracks.com/mixes/58258/player_v2" /> 
<param name="allowscriptaccess" value="always" /> 
<param name="FlashVars" value="bg_color=_ff9f24" /> 
<embed FlashVars="bg_color=_ff9f24" src="http://8tracks.com/mixes/58258/player_v2" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100%" height="80" allowscriptaccess="always" ></embed> 
</object> 
Answered about 7 years ago by meunierd
0
points

That embed seems a little bit too much like overkill, you may want to use this style....

<object type="application/x-shockwave-flash" data="http://8tracks.com/mixes/58258/player_v2" width="100%" height="80">
<param name="movie" value="http://8tracks.com/mixes/58258/player_v2" />
<param name="allowscriptaccess" value="always" /> 
<param name="FlashVars" value="bg_color=_ff9f24" /></object>

Bit neater, smaller... It's a based on the old Flash Satay method...

Answered about 7 years ago by gigazarak