This example demonstrates playing Dailymotion videos with other formats include standard html5 videos.
<div class="flex w-full">
<div id="playlists" class="">
<a class="fp-prev">prev</a>
<a class="fp-next">next</a>
</div>
</div>
<script type="text/javascript">
var player = flowplayer("#playlists", {
"playlist": [
{
"sources": [
{
"src": "http://www.dailymotion.com/video/x5q9zr",
"type": "video/dailymotion"
}
]
},
{
"sources": [
{
"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"
}
]
},
{
"sources": [
{
"src": "http://www.dailymotion.com/video/x5ujpg",
"type": "video/dailymotion"
}
]
}
],
"share": false
});
</script>