Dailymotion Playlists

Dailymotion video playlists with mp4 videos

This example demonstrates playing Dailymotion videos with other formats include standard html5 videos.

    <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": [
        {
            "sources": [
                {
                    "file": "http://www.dailymotion.com/video/x5q9zr",
                    "type": "video/dailymotion"
                }
            ]
        },
        {
            "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"
                }
            ]
        },
        {
            "sources": [
                {
                    "file": "http://www.dailymotion.com/video/x5ujpg",
                    "type": "video/dailymotion"
                }
            ]
        }
    ],
    "width": "100%"
});
  </script>