Enjoy an ad free experience by logging in. Not a member yet?
Register .
03-03-2008, 08:36 PM
PM User |
#1
New Coder
Join Date: Mar 2008
Posts: 11
Thanks: 2
Thanked 0 Times in 0 Posts
xspf player
Hello there,
I've just made at site for my production company. Here's the
link
I'm trying to use this mp3 player to play the tracks that we write.
It works fine on macs running firefox and safari but I can't for the life of me get it to work on a PC running AOL or Internet Explorer... (not tried firefox..might be an idea).
It basically doesn't seem to be able to load the playlist on the PC and shows the default title on the player.
I noticed a similar question asked here down the page a bit.. but it didn't help.
I don't understand why the player is showing the default text... surely if I have set the player to autoload the playlist... it should be trying to load the playlist even if it is unsuccesful.
Any help would be much appreciated!
Thanks lots.
Last edited by Weirwood; 03-03-2008 at 08:59 PM ..
03-03-2008, 09:57 PM
PM User |
#2
Supreme Master coder!
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
IE uses the object tag, other browsers use the embed tag. Change this
Code:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"
width="375" height="14" align="center" >
<param name="allowScriptAccess" value="sameDomain"/>
<param name="movie" value="xspf_player_slim.swf"/>
<param name="quality" value="high"/>
<param name="bgcolor" value="#E6E6E6"/>
<embed src="http://www.manikemusic.com/xspf_player_slim.swf?playlist_url=http://www.manikemusic.com/playlist.xspf&autoplay=true"
quality="high" bgcolor="#E6E6E6" name="xspf_player_slim" allowscriptaccess="sameDomain"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"
align="center" height="14" width="375"> </embed>
</object>
to this
Code:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"
width="375" height="14" align="center" >
<param name="allowScriptAccess" value="sameDomain"/>
<param name="movie" value="xspf_player_slim.swf?playlist_url=http://www.manikemusic.com/playlist.xspf&autoplay=true"/>
<param name="quality" value="high"/>
<param name="bgcolor" value="#E6E6E6"/>
<embed src="http://www.manikemusic.com/xspf_player_slim.swf?playlist_url=http://www.manikemusic.com/playlist.xspf&autoplay=true"
quality="high" bgcolor="#E6E6E6" name="xspf_player_slim" allowscriptaccess="sameDomain"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"
align="center" height="14" width="375"> </embed>
</object>
Really though you should be using something like
http://blog.deconcept.com/swfobject/ as it stands you need "Click to Activate" in IE.
__________________
|||| If you are getting paid to do a job, don't ask for help on it! ||||
Users who have thanked _Aerospace_Eng_ for this post:
03-03-2008, 10:39 PM
PM User |
#3
New Coder
Join Date: Mar 2008
Posts: 11
Thanks: 2
Thanked 0 Times in 0 Posts
Thanks a load for the reply! Means alot.
I'll try what you've suggested and then get back.
03-03-2008, 10:57 PM
PM User |
#4
New Coder
Join Date: Mar 2008
Posts: 11
Thanks: 2
Thanked 0 Times in 0 Posts
It works!
You're an absolute star!
Thanks
06-12-2008, 11:33 AM
PM User |
#5
New Coder
Join Date: Jun 2008
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
hi. I'm having the same issue and have hunted on and off for months for a fix. i'm not a coder, so i can't really problem solve myself. if you'd be so kind, any ideas on how to fix my page?
daredukes.com/music/music.html
thanks!
06-13-2008, 02:14 AM
PM User |
#6
Senior Coder
Join Date: Sep 2007
Location: Houston
Posts: 2,846
Thanks: 10
Thanked 238 Times in 229 Posts
06-13-2008, 01:12 PM
PM User |
#7
New Coder
Join Date: Jun 2008
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
thanks, jeremy. i'll try. i'm not a programmer, but i'll see if i can figure it out.
06-13-2008, 04:15 PM
PM User |
#8
Senior Coder
Join Date: Sep 2007
Location: Houston
Posts: 2,846
Thanks: 10
Thanked 238 Times in 229 Posts
Just ask if you need clarification, but it doesn't require you to program anything. Just copy and paste the code. It tries to make it somewhat possible to understand.
06-13-2008, 04:20 PM
PM User |
#9
New Coder
Join Date: Jun 2008
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
thanks, I will. I'll give it a shot and let you know how I fair.
07-20-2008, 07:36 PM
PM User |
#10
New Coder
Join Date: Jun 2008
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
I finally got around to trying this. I'm sure there's something basic I'm not doing right. Below is what I've generated using the code from your link. I'd appreciate your help.
<!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>Dare Dukes--Music</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", "7.0.0", "expressInstall.swf"); // First parameter: name of Object ID, Second parameter: Minimum Flash version, Third Parameter:
</script>
</head>
<body>
<div>
<object id="xspf_player" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="170">
<param name="movie" value="http://daredukes.com/xspf_player.swf?playlist_url=http://daredukes.com/xspf_player/ptoa_playlist.xspf" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="swfFile.swf" width="400" height="170">
<!--<![endif]-->
<p>Alternative content</p>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
</body>
</html>
07-21-2008, 03:23 PM
PM User |
#11
Supreme Master coder!
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
You need to change the location of the flash file in two places in the code above. I'll let you figure that out.
__________________
|||| If you are getting paid to do a job, don't ask for help on it! ||||
08-07-2008, 02:37 AM
PM User |
#12
New Coder
Join Date: Jun 2008
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by
_Aerospace_Eng_
You need to change the location of the flash file in two places in the code above. I'll let you figure that out.
I've finally had time to get back to this.
Um, I hate to say it, but i'm baffled. i'm looking for the spots you're referencing and i just don't know. (when I edit my website i'm like a blind man in a dark basement searching for a black cat that doesn't exist.)
I'm not even sure what you mean by "the flash file." by that you mean the xspf player?
how about a hint?
--dd
thanks for your patience.
08-07-2008, 11:26 PM
PM User |
#13
Supreme Master coder!
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
As I said two places
Code:
<object id="xspf_player" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="170">
<param name="movie" value="http://daredukes.com/xspf_player.swf?playlist_url=http://daredukes.com/xspf_player/ptoa_playlist.xspf" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="http://daredukes.com/xspf_player.swf?playlist_url=http://daredukes.com/xspf_player/ptoa_playlist.xspf" width="400" height="170">
<!--<![endif]-->
<p>Alternative content</p>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
__________________
|||| If you are getting paid to do a job, don't ask for help on it! ||||
08-07-2008, 11:57 PM
PM User |
#14
New Coder
Join Date: Jun 2008
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
Thanks so much. I made that change. Now, alas, see what you get when you go to the page:
http://daredukes.com/music/music_fix2.html
code below:
<!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>Dare Dukes--Music</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", "7.0.0", "expressInstall.swf"); // First parameter: name of Object ID, Second parameter: Minimum Flash version, Third Parameter:
</script>
</head>
<body>
<div>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="170" id="xspf_player">
<param name="movie" value="http://daredukes.com/xspf_player.swf?playlist_url=http://daredukes.com/xspf_player/ptoa_playlist.xspf" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="http://daredukes.com/xspf_player.swf?playlist_url=http://daredukes.com/xspf_player/ptoa_playlist.xspf" width="400" height="170">
<!--<![endif]-->
<p>Alternative content</p>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
</body>
</html>
08-08-2008, 01:21 AM
PM User |
#15
Supreme Master coder!
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
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>Dare Dukes--Music</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://daredukes.com/xspf_player.swf" />
<param name="flashvars" value="playlist_url=http://daredukes.com/xspf_player/ptoa_playlist.xspf" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="http://daredukes.com/xspf_player.swf" width="400" height="170">
<param name="flashvars" value="playlist_url=http://daredukes.com/xspf_player/ptoa_playlist.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>
__________________
|||| If you are getting paid to do a job, don't ask for help on it! ||||
Last edited by _Aerospace_Eng_; 08-08-2008 at 01:24 AM ..
Users who have thanked _Aerospace_Eng_ for this post:
Jump To Top of Thread
Thread Tools
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
HTML code is Off
All times are GMT +1. The time now is 09:57 PM .
Advertisement
Log in to turn off these ads.