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:

Name
Type
Description

messageType

Required.

lsc:media:progress

Legacy Properties

circle-exclamation
Name
Type
Description

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