Autoplay is configured in the Dailymotion studio for the configured player. In the player configuration autoplay is configured by default.
<div class="flex flex-col w-full">
<div id="autoplay" class=""></div>
</div>
<script type="text/javascript">
var player = flowplayer("#autoplay", {
"dailymotion": {
"lang": "en",
"playerID": "xem78"
},
"src": [
{
"src": "https://www.dailymotion.com/video/x5q9zr",
"type": "video/dailymotion"
}
],
"token": "eyJraWQiOiIyeHRpc0Q5NHZzTjIiLCJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJjIjoie1wiYWNsXCI6NixcImlkXCI6XCIyeHRpc0Q5NHZzTjJcIixcImRvbWFpblwiOltcImVsZWN0cm90ZXF1ZS5vcmdcIl19IiwiaXNzIjoiRmxvd3BsYXllciJ9.WLUkZHpDNoaXWDaFO2V5UfXm7SnDvE1pFAM0e7ppnFovOSyCCZM-b8gQNBSElB5yirTP__x76Qyo8pMWh6lVrw"
});
</script>