Controlbar Video Previewer Playlists

Video previewer within playlists

This example demonstrates configuring the plugin with playlist items.

    <div class="flex w-full h-auto my-auto">
          <div id="playlists" class=""></div>
  </div>
  <script type="text/javascript">
  	var player = jwplayer("playlists").setup({
    "aspectratio": "16:9",
    "playbackRateControls": true,
    "playlist": [
        {
            "framesurl": "../../images/contactsheets/big_buck_bunny_400k-[index].jpg",
            "sources": [
                {
                    "file": "https://videos.electroteque.org/bitrate/big_buck_bunny_2000k.webm",
                    "type": "webm"
                },
                {
                    "file": "https://videos.electroteque.org/bitrate/big_buck_bunny_2000k.mp4",
                    "type": "mp4"
                }
            ]
        },
        {
            "framesurl": "../../images/contactsheets/Elephants_Dream_720-h264-st-aac-[index].jpg",
            "sources": [
                {
                    "file": "https://videos.electroteque.org/bitrate/elephants_dream_2000k.webm",
                    "type": "webm"
                },
                {
                    "file": "https://videos.electroteque.org/bitrate/elephants_dream_2000k.mp4",
                    "type": "mp4"
                }
            ]
        }
    ],
    "plugins": {
        "../../js/videopreviewer-8.1.0.js": {}
    },
    "width": "100%"
});
  </script>