I have created a test page with two example:
Iframe embed HTML
JavaScript SDK
I have tried to set parameter "queue-autoplay-next" to false but not working and when first video finish automatically start the secondo one.
Documentation here:
My Code:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<iframe frameborder="0" width="480" height="270"
src="//www.dailymotion/embed/video/x7024it?autoplay=true&ui-highlight=c90c0f&mute=0&queue-autoplay-next=false&sharing-enable=false&ui-logo=false&ui-start-screen-info=false&queue-enable=true"
allowfullscreen allow="autoplay">
</iframe>
<div id="player"></div>
<script src=".js"></script>
<script>
var player = DM.player(document.getElementById("player"), {
video: "x7024it",
width: "100%",
height: "100%",
params: {
autoplay: true,
mute: false,
"queue-autoplay-next": false,
"ui-highlight": "c90c0f",
"sharing-enable": false,
"ui-logo": false,
"ui-start-screen-info": false,
"queue-enable": true
}
});
</script>
</body>
</html>
I have created a test page with two example:
Iframe embed HTML
JavaScript SDK
I have tried to set parameter "queue-autoplay-next" to false but not working and when first video finish automatically start the secondo one.
Documentation here: https://developer.dailymotion./player
My Code:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<iframe frameborder="0" width="480" height="270"
src="//www.dailymotion./embed/video/x7024it?autoplay=true&ui-highlight=c90c0f&mute=0&queue-autoplay-next=false&sharing-enable=false&ui-logo=false&ui-start-screen-info=false&queue-enable=true"
allowfullscreen allow="autoplay">
</iframe>
<div id="player"></div>
<script src="https://api.dmcdn/all.js"></script>
<script>
var player = DM.player(document.getElementById("player"), {
video: "x7024it",
width: "100%",
height: "100%",
params: {
autoplay: true,
mute: false,
"queue-autoplay-next": false,
"ui-highlight": "c90c0f",
"sharing-enable": false,
"ui-logo": false,
"ui-start-screen-info": false,
"queue-enable": true
}
});
</script>
</body>
</html>
Share
Improve this question
edited Jan 8, 2019 at 11:20
Luca
asked Jan 8, 2019 at 10:09
LucaLuca
311 silver badge4 bronze badges
1
- Has nothing to do with JSP. – Jozef Chocholacek Commented Jan 8, 2019 at 10:54
1 Answer
Reset to default 5Thank you for your feedback, it's indeed a bug in the player. We will fix it asap.
Meanwhile you can use "queue-autoplay-next": 0
as a workaround.
We apologize for the inconvenience.