Media — Progress
The LiSA Player regularly sends a media progress message to report the current playback status and track visitor dwell time.
Properties
Along with all standard Media Message properties, a Progress message includes the following additional properties:
messageType
Required.
lsc:media:progress
Legacy Properties
If your integration uses LiSA Player Version 1, none of the properties described above will be available.
For LiSA Player Version 2, legacy properties can be ignored.
action
Required.
time
⚠️ Please use messageType instead.
playing
Required.
The playing property indicates, whether the current media item is playing or paused.
⚠️ Please use progress.isPlaying instead.
target
Required.
player
⚠️ Please use messageType instead.
time
Optional.
The time property represents the current playback position of the media item, measured in seconds from the start.
For live streams, this value represents the current timestamp relative to the live broadcast
For on-demand content (e.g., replays, stories), this value indicates the exact position the user is watching.
⚠️ Please use progress.currentTimeInMs instead.
Type Definition
interface MediaProgressMessage extends Omit<MediaMessage, 'messageType'> {
messageType: 'lsc:media:progress';
}Examples
Last updated