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.
| Attribute | Type | Description |
|---|---|---|
| startAt | double | VOD: 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.
m.player.callFunc("setConfig", {
...
"content": {
"startAt": 30
}
...
})
Restart TV example
m.player.callFunc("setConfig", {
...
"content": {
"type": "live",
"dvr": {
"enabled": true,
"mode": "event"
},
"startAt": 1710528000
}
...
})