To enjoy all our Developer Portal features, please switch to Microsoft Edge, Google Chrome or Mozilla Firefox browsers.

Video Player: How to specify the start time of video playback

Posted on by Julie Lambert

If you want to configure the start time of video playback, then here are a few ways to define a chosen starting frame. 

Use case: Let’s say you want to start video playback from 10 seconds. You can use the start parameter with an iFrame or our Javascript SDK.

The start parameter with an Iframe

Add the start parameter in your video embed URL, like explained in this code sample:


<iframe frameborder="0" width="480" height="270" src="//www.dailymotion.com/embed/video/xwr14q?autoplay=1&mute=1&start=10" allowfullscreen allow="autoplay"></iframe>

The start parameter with our Javascript SDK

Add the start parameter in your params Object parameters:


var player = DM.player(document.getElementById("player"), {
    video: "xwr14q",
    params: {
      'autoplay': true,
      'start': 10
    }
});