integrating swf

whats wrong with this code?

<object type="application/x-shockwave-flash" data="http://www.1pixelout.net/wp-content/plugins/audio-player/player.swf" width="290" height="24" id="audioplayer2"><br />
<param name="movie" value="http://www.ventureblogalist.com/wp-content/plugins/audio-player/player.swf" />
<param name="FlashVars" value="playerID=2;bg=0xCDDFF3;leftbg=0x357DCE;lefticon=0xF2F2F2;rightbg=0xF06A51;rightbghover=0xAF2910;righticon=0xF2F2F2;righticonhover=0xFFFFFF;text=0x357DCE;slider=0x357DCE;track=0xFFFFFF;border=0xFFFFFF;loader=0xAF2910;soundFile=http://www.ventureblogalist.com/audio/preview3.mp3" />
<param name="quality" value="high" />
<param name="menu" value="false" />
<param name="wmode" value="transparent" /></object>
finnstoneAsked:
Who is Participating?
 
sam85281Commented:
That code will only work in IE.  Your little player doesn't show up in FF like that.

For it to work in all browsers your code needs to be:

<object type="application/x-shockwave-flash" data="http://www.1pixelout.net/wp-content/plugins/audio-player/player.swf" width="290" height="24" id="audioplayer2"><br />
<param name="movie" value="http://www.ventureblogalist.com/wp-content/plugins/audio-player/player.swf" />
<param name="FlashVars" value="playerID=2;bg=0xCDDFF3;leftbg=0x357DCE;lefticon=0xF2F2F2;rightbg=0xF06A51;rightbghover=0xAF2910;righticon=0xF2F2F2;righticonhover=0xFFFFFF;text=0x357DCE;slider=0x357DCE;track=0xFFFFFF;border=0xFFFFFF;loader=0xAF2910;soundFile=http://www.ventureblogalist.com/audio/preview3.mp3" />
<param name="quality" value="high" />
<param name="menu" value="false" />
<param name="wmode" value="transparent" />
<embed wmode="transparent" menu="false" FlashVars="playerID=2;bg=0xCDDFF3;leftbg=0x357DCE;lefticon=0xF2F2F2;rightbg=0xF06A51;rightbghover=0xAF2910;righticon=0xF2F2F2;righticonhover=0xFFFFFF;text=0x357DCE;slider=0x357DCE;track=0xFFFFFF;border=0xFFFFFF;loader=0xAF2910;soundFile=http://www.ventureblogalist.com/audio/preview3.mp3" src="http://www.ventureblogalist.com/wp-content/plugins/audio-player/player.swf" quality="high" bgcolor="#ffffff" width="290" height="24" name="player" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

IE uses the <object> tag

All others use the <embed> tag

-Sam
0
 
finnstoneAuthor Commented:
opps, its working!!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.