I am using the following code for playlist in jwplayer as shown in this page
http://www.longtailvideo.com/blog/20697/jw-player-57-all-about-html5-playlists
<div id="html5playlist"></div>
<script type="text/javascript">
jwplayer("html5playlist").setup({
modes: [
{ type: "html5" },
{ type: "flash", src: "http://player.longtailvideo.com/player.swf" }
],
playlist: [
{
levels: [
{ file: "http://content.bitsontherun.com/videos/bkaovAYt-364766.mp4" },
{ file: "http://content.bitsontherun.com/videos/bkaovAYt-1287469.webm" }
],
image: "http://content.bitsontherun.com/thumbs/bkaovAYt-480.jpg",
title: "Big Buck Bunny Trailer"
}, {
levels: [
{ file: "http://content.bitsontherun.com/videos/3XnJSIm4-364766.mp4" },
{ file: "http://content.bitsontherun.com/videos/3XnJSIm4-1287469.webm" }
],
image: "http://content.bitsontherun.com/thumbs/3XnJSIm4-480.jpg",
title: "Sintel Trailer"
},
{
levels: [
{ file: "http://content.bitsontherun.com/videos/bkaovAYt-364766.mp4" },
{ file: "http://content.bitsontherun.com/videos/bkaovAYt-1287469.webm" }
],
image: "http://content.bitsontherun.com/thumbs/bkaovAYt-480.jpg",
title: "Big Buck Bunny Trailer"
}, {
levels: [
{ file: "http://content.bitsontherun.com/videos/3XnJSIm4-364766.mp4" },
{ file: "http://content.bitsontherun.com/videos/3XnJSIm4-1287469.webm" }
],
image: "http://content.bitsontherun.com/thumbs/3XnJSIm4-480.jpg",
title: "Sintel Trailer"
}
],
width: 700,
"playlist.position": "right",
"playlist.size": 240,
skin: "http://content2.longtailvideo.com/skins/glow/glow.zip"
});
</script>
But I want to load the playlist from playlist.xml
How is this possible ?