GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

Events - Videos

Use this reference to interpret video-related events provided using the Experiences SDK onEventTriggered callback. It lists the video event structure and explains each event_action and its associated values.

Events have the structure outlined in the table that follows.

The tables in this document are wide. For ease of reading, view as HTML table or Google Sheet

Table structure

  • Field: The field name.
  • Field data: For fields with a variant type, this column specifies the name of the field data within the variant
  • Type: The type of the field or field data (if the field is a variant). Possible types include Number, Varchar, or Boolean.
  • Example: A sample value or instance of the field.
  • Description: An explanation of the field's meaning, if necessary.
  • From version: The SDK version from which this field started being reported.
  • web/mobile: Indicates whether the field reports data only when a viewer is on web ("web"), mobile ("mobile"), or both (no entry).
  • Options: Lists possible values for the field if it has a finite set of options.

Video events

FieldField dataTypeExampleDescriptionFrom versionweb/mobileOptions
Videovideo_session_idVarchar123-456-789Video session unique ID
Videovideo_idVarchar6643b5914e167da3d5a52b58Video unique ID
Videovideo_titleVarcharTottenham vs. Manchester CityTitle of the video
Videovideo_durationNumber5321Duration of the video in seconds
Videovideo_session_triggerVarcharWidgetThe origin for the entire sessionWidget, Entry Point, Deeplink, Notification, Auto Play from Widget, Inline
Videovideo_start_triggerVarcharSkipThe latest trigger that started the videoWidget, Entry Point, Deeplink, Notification, Auto Play from Widget, Inline, Skip, Viewing Mode Transition, App Foreground
Videovideo_end_triggerVarcharVideo FinishedThe trigger that ended the videoVideo Finished, Viewing Mode Transition, User Skip Next, User Skip Previous, Close Button, User Swipe To Dismiss, App Close, Inline, App Background
Videovideo_current_timeNumber562The exact time in the video (in seconds)
Videonext_video_idVarchar6643b5914e167da3d5a52b59ID of the next video in the listvideo_id
Videocta_configVarchar{"type": "Always Visible", "visible_duration": 10}CTA configurationAlways Visible, Visible After Overlay Hidden
Videoviewing_modeVarchar{"current_mode": "Inline Preview", "next_mode": "Fullscreen"}Current and next viewing modeInline Preview, Inline Interactive, Fullscreen, Picture In Picture, Out Of Screen, Casting
Videoplayer_orientationVarcharLandscapeVideo orientationPortrait, Landscape
Videodevice_orientationVarcharPortraitDevice orientationPortrait, Landscape
Videoaudio_stateVarcharMuteIndicates whether the video was muted or unmutedMute, Unmute
Videoseek_typeVarcharSeek BarIndicates how the user initiated the seekSeek Bar, Double Tap
Videoseek_total_timeNumber30Total skipped time (seconds)
Videoseek_start_timeNumber120Timestamp before seek started (seconds)
Videoseek_end_timeNumber150Timestamp after seek ended (seconds)
Videoseek_directionVarcharForwardDirection of the seekForward, Backward

In the table below, you'll find descriptions for each event_action, along with indicators showing whether the event_action reports a specific field (fields from the Video variant only).

  • Note, that each event_action reports not only the fields listed in the table below, but also all generic fields, as described on the events page.

Fieldvideo_startplayback_initial_startvideo_endbuffer_startbuffer_endplayback_pauseplayback_playforced_playback_pauseforced_playback_playseeklikeunlikesharecta_clickaudiocta_visiblecta_dismissedviewing_mode_transition
video_session_idVVVVVVVVVVVVVVVVVV
video_idVVVVVVVVVVVVVVVVVV
video_titleVVVVVVVVVVVVVVVVVV
video_durationVVVVVVVVVVVVVVVVVV
video_session_triggerVVVVVVVVVVVVVVVVVV
video_start_triggerVVVVVVVVVVVVVVVVVV
video_end_triggerV
video_current_timeVVVVVVVVVVVVVVVVVV
next_video_idV
cta_configVVVVVVVVVVVVVVVVVV
viewing_modeVVVVVVVVVVVVVVVVVV
player_orientationVVVVVVVVVVVVVVVVVV
device_orientationVVVVVVVVVVVVVVVVVV
audio_stateVVVVVVVVVVVVVVVVVV
seek_typeV
seek_total_timeV
seek_start_timeV
seek_end_timeV
seek_directionV

Did this page help you?