0

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 ?

2
Contributors
1
Reply
7
Views
5 Years
Discussion Span
Last Post by LastMitch
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.