window.addEventListener method. Below is an example of how to listen for these events:
Code Block Example
Events
videowiseLiveOnPlay
Triggered when the live stream is playing.- clientTS
- currentTime
- device
- eventType
- interactionType = resume_player
- isLive
- lsId
- organisationId
- siteId
- uid
- url
- videoElapsedMinutes
- videoElapsedSeconds
videowiseLiveOnStop
Triggered when the live stream is closed.- clientTS
- currentTime
- device
- eventType
- interactionType = close_player
- isLive
- lsId
- organisationId
- siteId
- uid
- url
- videoElapsedMinutes
- videoElapsedSeconds
videowiseLiveOnInteraction
Triggered when a user executes a specific interaction during the live stream.- clientTS
- currentTime
- device
- eventType
- interactionType
- isLive
- lsId
- organisationId
- siteId
- uid
- url
- videoElapsedMinutes
- videoElapsedSeconds
- mute_player
- unmute_player
- pause_player
- resume_player
- like_reaction
- share
- add_to_calendar
- send_chat
- minimize_player
- maximize_player
- show_product_list
- hide_product_list
- product_click
- add_to_cart
- checkout
- show_cart
- hide_cart
- replay
- progress
interactionType = share then the event will contain in addition:
- socialShare
interactionType = product_click | add_to_cart then the event will contain in addition:
- item(which is data about product from the live stream)