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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Object not appearing in IE

Status
Not open for further replies.

Gazzieh

IS-IT--Management
Dec 18, 2006
117
GB
I have this code to embed a personal player within my webpage:

Code:
<div id="column2">
					<script type="text/javascript" src="swfobject.js"></script>
					<div id="flashPlayer">
						This text will be replaced by the flash music player.
					</div>
					<script type="text/javascript">
				   		var so = new SWFObject("player.swf", "music", "190", "70", "7", "#0055bd");
				   		so.addParam("wmode", "transparent");
						so.addVariable("newFile", "audio/america/america.xml");
				   		so.write("flashPlayer");
					</script>
				</div>

Works fine in all other browsers but I get the "This text will be replaced by the flash music player." in IE7.

Any ideas why?
 
Thanks for this, but the swfobject.js already was in the root directory.
 
But it works in Firefox, Opera, Flock and Safari?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top