Media
All media-item–related events currently in use don’t extend the base event schema with any media-specific fields. However, the normally optional properties — mediaItemId, mediaItemType, and progress — are always included.
Media Event
lsc:media:complete— Playback of the current media item has ended.lsc:media:emoji— Visitor reacted to the media item with an emoji.lsc:media:impression— Visitor opened the media item.lsc:media:pause— Playback of the current media item has paused.lsc:media:play— Playback of the current media item started.lsc:media:resume— Playback of the current media item resumed.
Schema
export interface MediaEvent extends Omit<
StickerEvent,
'eventType'
> {
eventType:
| 'lsc:media:complete'
| 'lsc:media:emoji'
| 'lsc:media:impression'
| 'lsc:media:pause'
| 'lsc:media:play'
| 'lsc:media:resume';
}Last updated