Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Dec 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    xspf player is playing a random playlist

    i have an xspf player on my site. www.thestonecloud.com

    all of my info seems to be good, but when i view it with dw cs4, and also at the site itself, the player loads, but some random playlist is playing, and my playlist link is the right info. why is this? here is the code i am using.

    player...

    [CODE]<object type="application/x-shockwave-flash" width="400" height="170"
    data="http://www.thestonecloud.com/music/xspf_player.swf?playlist_url="http://www.thestonecloud.com/music/playlist.xspf">
    <param name="movie"
    value="http://www.thestonecloud.com/music/xspf_player.swf?playlist_url="http://www.thestonecloud.com/music/playlist.xspf" />
    </object>[CODE]

    playlist..

    [CODE]<?xml version="1.0" encoding="UTF-8" ?>
    - <playlist version="1" xmlns="http://xspf.org/ns/0/">
    <title>Radio Planet</title>
    - <trackList>
    - <track>
    <location>www.thestonecloud.com/music/rock/r11.mp3</location>
    <image>songaimage.jpg</image>
    <title>MGMT- Electric Feel</title>
    </track>
    - <track>
    <location>www.thestonecloud.com/music/rock/r06.mp3</location>
    <title>Alkaline Trio- 'till we've had enough</title>
    </track>
    - <track>
    <location>www.thestonecloud.com/music/rock/r07.mp3</location>
    <title>Rammstien- Amerika</title>
    </track>
    - <track>
    <location>www.thestonecloud.com/music/rock/r08.mp3</location>
    <title>Demi Levato- Here We Go Again</title>
    </track>
    </trackList>
    </playlist>[CODE]

    as you can clearly see that's not my playlist. in fact, in all of the code on my page i can't find a reference to any other playlist... at all!!!! please.... what is happening? all my bright ideas have come to a screeching halt because of this simple hang up..... -josh

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Its partly your fault. Change this
    Code:
    <object type="application/x-shockwave-flash" width="400" height="170"
    data="http://www.thestonecloud.com/music/xspf_player.swf?playlist_url="http://www.thestonecloud.com/music/playlist.xspf">
    <param name="movie"
    value="http://www.thestonecloud.com/music/xspf_player.swf?playlist_url="http://www.thestonecloud.com/music/playlist.xspf" />
    </object>
    to this
    Code:
    <object type="application/x-shockwave-flash" width="400" height="170"
    data="http://www.thestonecloud.com/music/xspf_player.swf?playlist_url=http://www.thestonecloud.com/music/playlist.xspf">
    <param name="movie"
    value="http://www.thestonecloud.com/music/xspf_player.swf?playlist_url=http://www.thestonecloud.com/music/playlist.xspf" />
    </object>
    You had an extra quote in there.
    That isn't the code on your site btw.
    Last edited by _Aerospace_Eng_; 12-11-2009 at 06:50 PM.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #3
    New to the CF scene
    Join Date
    Dec 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thank you so much sensei! works like a charm. now i just have to work on the undefined part of the playlist..... and yeah i was changing some players around trying to get it to work, but now i have this one back up there because it gives me more control.. thanks a ton! i owe ya!-jt


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •