Go Back   CodingForums.com > :: Client side development > Flash & ActionScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-08-2008, 11:14 AM   PM User | #16
dedukes
New Coder

 
Join Date: Jun 2008
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
dedukes is an unknown quantity at this point
Thanks! That did it. I had to tweak the path for the xspf player, but you fundamentally fixed the issue (whatever it was).

Now all I've got to do is add the design back. Wish me luck

--dd
dedukes is offline   Reply With Quote
Old 07-29-2009, 06:37 PM   PM User | #17
PrivateLabel
New to the CF scene

 
Join Date: Jul 2009
Location: Mass
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
PrivateLabel is an unknown quantity at this point
I know this thread is old but i still am having problems getting my xspf player to work in IE. It works perfect like this in Firefox. My code:

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
	<head>
		<title>Young-Star</title>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
		<script type="text/javascript" src="swfobject.js"></script>
		<script type="text/javascript">
			swfobject.registerObject("xspf_player", "9.0.0", "expressInstall.swf");
		</script>
	</head>
	<body>
		<div>
			<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="400" height="170" id="xspf_player">
				<param name="movie" value="http://privatelabel.110mb.com/xspf_player.swf" />
				<param name="flashvars" value="playlist_url=http://privatelabel.110mb.com/test.xspf" />
				<!--[if !IE]>-->
				<object type="application/x-shockwave-flash" data="http://privatelabel.110mb.com/xspf_player.swf" width="400" height="170">
					<param name="flashvars" value="playlist_url=http://privatelabel.110mb.com/test.xspf" />
				<!--<![endif]-->
					<a href="http://www.adobe.com/go/getflashplayer">
						<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
					</a>
				<!--[if !IE]>-->
				</object>
				<!--<![endif]-->
			</object>
		</div>
	</body>
</html>

Last edited by PrivateLabel; 07-29-2009 at 07:51 PM..
PrivateLabel is offline   Reply With Quote
Old 07-29-2009, 10:59 PM   PM User | #18
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
Is your page being hosted on 110mb or are you trying to put this on another server? If its on 110mb remove any instances of http://privatelabel.110mb.com/
__________________
||||If you are getting paid to do a job, don't ask for help on it!||||
_Aerospace_Eng_ is offline   Reply With Quote
Old 07-29-2009, 11:34 PM   PM User | #19
PrivateLabel
New to the CF scene

 
Join Date: Jul 2009
Location: Mass
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
PrivateLabel is an unknown quantity at this point
Thanks for the reply ! Yes my page is being hosted on 110mb. And I removed all the instances of http://privatelabel.110mb.com/ and still I get nothing on IE.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
	<head>
		<title>Young-Star</title>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
		<script type="text/javascript" src="swfobject.js"></script>
		<script type="text/javascript">
			swfobject.registerObject("xspf_player", "9.0.0", "expressInstall.swf");
		</script>
	</head>
	<body>
		<div>
			<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="400" height="170" id="xspf_player">
				<param name="movie" value="xspf_player.swf" />
				<param name="flashvars" value="playlist_url=test.xspf" />
				<!--[if !IE]>-->
				<object type="application/x-shockwave-flash" data="xspf_player.swf" width="400" height="170">
					<param name="flashvars" value="playlist_url=test.xspf" />
				<!--<![endif]-->
					<a href="http://www.adobe.com/go/getflashplayer">
						<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
					</a>
				<!--[if !IE]>-->
				</object>
				<!--<![endif]-->
			</object>
		</div>
	</body>
</html>
PrivateLabel is offline   Reply With Quote
Old 07-30-2009, 12:33 AM   PM User | #20
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
I guess I should have asked you to post all of your code link me to your site. You have this
Code:
<link href="/name.ico" rel="shortcut icon" type="image/x-icon" />
<div align="center"><body bgcolor = "black"><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"WIDTH=684 HEIGHT=676><PARAM NAME=movie VALUE="http://privatelabel.110mb.com/youngstarfinal.swf"> <PARAM NAME=quality VALUE=best> <PARAM NAME=wmode VALUE=> <PARAM NAME=bgcolor VALUE=#000000> <EMBED src="http://privatelabel.110mb.com/youngstarfinal.swf" quality=best bgcolor=#000000 WIDTH=684 HEIGHT=676 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
<div align="center"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
	<head>
		<title>Young-Star</title>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
		<script type="text/javascript" src="swfobject.js"></script>

		<script type="text/javascript">
			swfobject.registerObject("xspf_player", "9.0.0", "expressInstall.swf");
		</script>
	</head>
Do you not see anything wrong? You never close your first object tag. On top of that you seem to have code before your complete document. Remove this stuff and see if it works
Code:
<link href="/name.ico" rel="shortcut icon" type="image/x-icon" />
<div align="center"><body bgcolor = "black"><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"WIDTH=684 HEIGHT=676><PARAM NAME=movie VALUE="http://privatelabel.110mb.com/youngstarfinal.swf"> <PARAM NAME=quality VALUE=best> <PARAM NAME=wmode VALUE=> <PARAM NAME=bgcolor VALUE=#000000> <EMBED src="http://privatelabel.110mb.com/youngstarfinal.swf" quality=best bgcolor=#000000 WIDTH=684 HEIGHT=676 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
<div align="center">
__________________
||||If you are getting paid to do a job, don't ask for help on it!||||
_Aerospace_Eng_ is offline   Reply With Quote
Old 07-30-2009, 12:45 AM   PM User | #21
PrivateLabel
New to the CF scene

 
Join Date: Jul 2009
Location: Mass
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
PrivateLabel is an unknown quantity at this point
Thank you that did work. But what i wanted is to have the player at the bottom/center of my website if i remove the code its just the player in itself.
PrivateLabel is offline   Reply With Quote
Old 07-30-2009, 01:35 AM   PM User | #22
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
I understand that but it helps if you actually try to learn html. If you did try you would know that the code you've posted in your posts is a COMPLETE document. Nothing should go before it or after it. Try this
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Young-Star</title>
<link href="/name.ico" rel="shortcut icon" type="image/x-icon" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
html, body {
	margin:0;
	padding:0;
	background:#000;
}
#main {
	width:684px;
	margin:auto;
}
#xspf {
	margin:auto;
	width:400px;
}
</style>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
swfobject.registerObject("main_flash", "9.0.0", "expressInstall.swf");
swfobject.registerObject("xspf_player", "9.0.0", "expressInstall.swf");
</script>
</head>
<body>
<div id="main">
	<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="684" height="676" id="main_flash">
		<param name="movie" value="youngstarfinal.swf" />
		<param name="wmode" value="transparent" />
		<!--[if !IE]>-->
		<object type="application/x-shockwave-flash" data="youngstarfinal.swf" width="684" height="676">
		<param name="wmode" value="transparent" />
			<!--<![endif]-->
			<a href="http://www.adobe.com/go/getflashplayer"> <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /> </a>
			<!--[if !IE]>-->
		</object>
		<!--<![endif]-->
	</object>
</div>
<div id="xspf">
	<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="400" height="170" id="xspf_player">
		<param name="movie" value="xspf_player.swf" />
		<param name="flashvars" value="playlist_url=http://privatelabel.110mb.com/test.xspf" />
		<!--[if !IE]>-->
		<object type="application/x-shockwave-flash" data="xspf_player.swf" width="400" height="170">
			<param name="flashvars" value="playlist_url=http://privatelabel.110mb.com/test.xspf" />
			<!--<![endif]-->
			<a href="http://www.adobe.com/go/getflashplayer"> <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /> </a>
			<!--[if !IE]>-->
		</object>
		<!--<![endif]-->
	</object>
</div>
</body>
</html>
Study it and try to understand what I did.
__________________
||||If you are getting paid to do a job, don't ask for help on it!||||
_Aerospace_Eng_ is offline   Reply With Quote
Old 07-30-2009, 01:39 AM   PM User | #23
PrivateLabel
New to the CF scene

 
Join Date: Jul 2009
Location: Mass
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
PrivateLabel is an unknown quantity at this point
Thank you!!! I am in the process of learning now. I really appreciate your help. Thank you again.
PrivateLabel is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:12 AM.


Advertisement
Log in to turn off these ads.