Skip to main content

Start At Configuration

Wievers like to continue watching the video from where they have left. That's where startAt parameter comes in handy. With this parameter, you can specify where the video playback should start from. This parameter empowers users to have a more tailored and efficient video-watching experience by providing them with direct control over where their viewing journey begins.

To configure the starting position of the video in Lura Player, you can use the following configuration.

AttributeTypeDescription
startAtnumberVOD: starting position in seconds. DVR live: UNIX timestamp in seconds for the initial playback position inside the DVR availability window.
info

For VOD assets, startAt is an offset from the beginning of the asset. For Restart TV with DVR configuration, startAt is a UNIX timestamp in seconds and must be inside the DVR availability window.

const config = {
...
content: {
startAt: 30
}
...
};
const player = new lura.Player();
player.setConfig(config);
Restart TV example
const config = {
...
content: {
type: "live",
dvr: {
enabled: true,
mode: "event"
},
startAt: 1710528000
}
...
};
const player = new lura.Player();
player.setConfig(config);