Dailymotion Playlists

Dailymotion video playlists with mp4 videos

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

     
     <script src="//cdn.flowplayer.com/releases/native/3/stable/plugins/playlist.min.js"></script>

  <div class="flex flex-col w-full">
          <div id="playlists" class=""></div>


            <div id="playlist-ui"></div>
  </div>
  <script type="text/javascript">
  	var player = flowplayer("#playlists", {
    "controls": "#playlist-ui",
    "dailymotion": {
        "playerID": "xekqk"
    },
    "playlist": {
        "controls": "#playlist-ui"
    },
    "src": {
        "items": [
            {
                "src": [
                    {
                        "src": "https://www.dailymotion.com/video/x5q9zr",
                        "type": "video/dailymotion"
                    }
                ],
                "title": "Big Buck Bunny"
            },
            {
                "src": [
                    {
                        "src": "https://videos.electroteque.org/bitrate/big_buck_bunny_2000k.webm",
                        "type": "video/webm"
                    },
                    {
                        "src": "https://videos.electroteque.org/bitrate/big_buck_bunny_2000k.mp4",
                        "type": "video/mp4"
                    },
                    {
                        "src": "https://videos.electroteque.org/bitrate/big_buck_bunny_2000k.ogv",
                        "type": "video/ogg"
                    }
                ],
                "title": "Big Buck Bunny Mp4"
            },
            {
                "src": [
                    {
                        "src": "https://www.dailymotion.com/video/x5ujpg",
                        "type": "video/dailymotion"
                    }
                ],
                "title": "La Cit\u00e9 des hommes"
            }
        ],
        "type": "flowplayer/playlist"
    },
    "token": "eyJraWQiOiIyeHRpc0Q5NHZzTjIiLCJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJjIjoie1wiYWNsXCI6NixcImlkXCI6XCIyeHRpc0Q5NHZzTjJcIixcImRvbWFpblwiOltcImVsZWN0cm90ZXF1ZS5vcmdcIl19IiwiaXNzIjoiRmxvd3BsYXllciJ9.WLUkZHpDNoaXWDaFO2V5UfXm7SnDvE1pFAM0e7ppnFovOSyCCZM-b8gQNBSElB5yirTP__x76Qyo8pMWh6lVrw"
});
  </script>