Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration OnePlayerUiEvents

Player Events definition These events are sent by player. They can be considered as technicals events

Index

Enumeration members

AD_CLICKTHROUGH

AD_CLICKTHROUGH: = "oneplayerui/ad/clickthrough"

The user clicked to open an ad page Properties :

property

url: string - the ad page url

CAST_ERROR

CAST_ERROR: = "oneplayerui/cast/error"

An error has occured during cas Properties :

property

message: the error message. Refer to otvcastreceiver_error file for more informations

CAST_STATE_CHANGED

CAST_STATE_CHANGED: = "oneplayerui/cast/state"

Cast state has changed Properties :

property

state: CastState - the new cast state

FULLSCREEN_ENTER

FULLSCREEN_ENTER: = "oneplayerui/player/fullscreen/enter"

OneplayerUi enters in fullscreen mode

FULLSCREEN_EXIT

FULLSCREEN_EXIT: = "oneplayerui/player/fullscreen/exit"

OneplayerUi exits from fullscreen mode

PIP_ENTER

PIP_ENTER: = "oneplayerui/player/pip/enter"

OneplayerUi enters in pip mode

PIP_EXIT

PIP_EXIT: = "oneplayerui/player/pip/exit"

OneplayerUi exits from pip mode

PLAYER_CURRENT_TIME

PLAYER_CURRENT_TIME: = "oneplayerui/player/time"

Current time has been updated (when player state is not STOPPED) ONLY FOR ONDEMAND Properties :

property

time: number - current time

PLAYER_LIVE_MANIFEST_UPDATE

PLAYER_LIVE_MANIFEST_UPDATE: = "oneplayerui/player/live/manifest_url_update"

The live manifest url needs to be updated Properties :

PLAYER_LOADED_METADATA

PLAYER_LOADED_METADATA: = "oneplayerui/player/loadedmetadata"

loadedmetadata event has been received on video element

PLAYER_SEEKED

PLAYER_SEEKED: = "oneplayerui/player/seeked"

seeked event has been received on video element Properties :

property

time: number - seeked time

PLAYER_STATE

PLAYER_STATE: = "oneplayerui/player/state"

State of player has changed Properties :

property

state: PlayerState - new player state

SUBTITLES_CUSTOMIZE

SUBTITLES_CUSTOMIZE: = "oneplayerui/player/subtitles/customize"

Subtitle customization has changed

VOLUME_CHANGE

VOLUME_CHANGE: = "oneplayerui/player/volume/change"

Volume of player has changed Properties :

property

level: number - new volume level

VOLUME_MUTE

VOLUME_MUTE: = "oneplayerui/player/volume/mute"

Player has been muted Properties :

property

muted: boolean - true if muted, false otherwise

VZL_HIDE

VZL_HIDE: = "oneplayerui/player/vzl/hide"

VZL is hidden

VZL_SHOW

VZL_SHOW: = "oneplayerui/player/vzl/show"

VZL is displayed

Generated using TypeDoc