You can now enable looping of your videos or playlists when you share them with the embed code.
Enable loop playback via the loop parameter
You can enable looping by adding the loop parameter to the URL of your video or playlist.
Thus, the link of your video should be https://www.dailymotion.com/embed/video/x7sv1zd?loop=1 or https://www.dailymotion.com/embed/playlist/x5nmbq?loop=1 for a playlist.
Integration examples
Here is an example of integration on a video configured without autoplay but with loop playback enabled:
<div style="position:relative;padding-bottom:56.25%;height:0;overflow:hidden;"> <iframe style="width:100%;height:100%;position:absolute;left:0px;top:0px;overflow:hidden" frameborder="0" type="text/html" src="https://www.dailymotion.com/embed/video/x7sv1zd?loop=1" width="100%" height="100%" allowfullscreen allow="autoplay"> </iframe> </div>
Here is a second example of integration on a video configured with autoplay and loop playback activated:
<div style="position:relative;padding-bottom:56.25%;height:0;overflow:hidden;"> <iframe style="width:100%;height:100%;position:absolute;left:0px;top:0px;overflow:hidden" frameborder="0" type="text/html" src="https://www.dailymotion.com/embed/video/x7sv1zd?autoplay=1&loop=1" width="100%" height="100%" allowfullscreen allow="autoplay"> </iframe> </div>
For more information on the settings available to customize the experience of your embedded player, feel free to consult our documentation from the following links: