Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

playlist could not be loaded: http status 404; not found


Hi
My problem is that the player can not find the playlist on my server. I get the error message "Task Queue failed at step 5: playlist Could not be loaded: http status 404: not found".

When I run debugmode in Visual Studio, all locally, it works perfectly. But when I upload the page and the player on the server can not find it playlist.

Her's my code:

bc.. <div id="content">
<div id="content_album"> <img src="images/album1.jpg" alt="Albumbild"/> </div>

<div id="content_player">

<div id="container">Loading the player ...</div>

<script type="text/javascript">
jwplayer("container").setup({
'flashplayer': "jwplayer/player.swf",
'width': '560',
'height': '200',
'controlbar': 'top',
'playlistfile': "music/playlist1.xspf",
'playlist.position': 'bottom',
});
</script>
</div>

<div id="content_album2"> <img src="images/album2.jpg" alt="Albumbild"/> </div>
<div id="content_player2">

<div id="container1">Loading the player ...</div>

<script type="text/javascript">
jwplayer("container1").setup({
'flashplayer': "jwplayer/player.swf",
'width': '560',
'height': '200',
'controlbar': 'top',
'playlistfile':
"http://ny.andersohlsson.se/MarcusBerg4/music/playlist1.xspf",
'playlist.position': 'bottom',

});
</script>
</div>
</div>



And here's my playlist (xml)
bc.. <?xml version="1.0" encoding="UTF-8"?>

<playlist xmlns="http://xspf.org/ns/0/" version="1">

<trackList>
<track>
<title> File 1 </title>
<location>http://www.ny.andersohlsson.se/WebSite3/musik/file1.mp3</location>
<image></image>
</track>

<track>
<title> File 2 </title>
<location>http://www.ny.andersohlsson.se/WebSite3/musik/file2.mp3</location>
<image></image>
</track>

<track>
<title> File 3 </title>
<location>http://www.ny.andersohlsson.se/WebSite3/musik/file3.mp3</location>
<image></image>
</track>


</trackList>
</playlist>



Have I done anything wrong? Please help me...

//A

3 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

If you go to – http://ny.andersohlsson.se/MarcusBerg4/music/playlist1.xspf in your web browser, you get a server error message. So the here is that the file at http://ny.andersohlsson.se/MarcusBerg4/music/playlist1.xspf does not exist.

JW Player

User  
0 rated :

Ah I got it figured out now. I changed the playlist1.xspf to playlist1.xml and then it works.

Thank you for a relly good player!

//A

Ethan Feldman

JW Player Support Agent  
0 rated :

Np!

This question has received the maximum number of answers.