Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Code that works fine in Firefox, is broken in Explorer

Status
Not open for further replies.

bobby8685

Technical User
Mar 5, 2006
36
0
0
US
Hi,
I am designing a page that contains a bunch of flash mp3 players that play certain mp3s to go along with a paypal button specific to each mp3. The page can be viewed here,
Viewed in Firefox, everything is fine and each specific mp3 is played correctly. However in Internet Explorer, my flash mp3 players are corrupted. They do not play the specified mp3 when clicked.

Appreciate any help, thanks.

Sample Code:

Code:
<script type="text/javascript" src="swfobject.js"></script>
	<div id="flashPlayer">
  This text will be replaced by the flash music player.<br>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="[URL unfurl="true"]http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"[/URL] width="75" height="30">
      <param name="movie" value="playerMini.swf">
      <param name="quality" value="high">
      <embed src="playerMini.swf" width="75" height="30" quality="high" pluginspage="[URL unfurl="true"]http://www.macromedia.com/go/getflashplayer"[/URL] type="application/x-shockwave-flash"></embed>
    </object>
</div>

<script type="text/javascript">
   var so = new SWFObject("playerMini.swf", "mymovie", "75", "30", "7", "#FFFFFF");
   so.addVariable("autoPlay", "no");
   so.addVariable("loop", "yes");
   so.addVariable("soundPath", "leasebeats/MasterMyndz - All The Tears.mp3");
   so.write("flashPlayer");
</script>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top