Player states (Android)
State | Description | Type |
|---|---|---|
| If the player controls are enabled. | boolean |
| The player current aspect ratio. | string |
| Contains information about the last error that occurred in the player, including title, message and code. Example:
| object |
| If the player has the alert dialog displayed. | boolean |
| If the player is loading the media resource. | boolean |
| If the player is ready to play. | boolean |
| If the player is muted. | boolean |
| If the next and previous controls in the PiP are enabled. | boolean |
| If the player is allowed to play, depending on the browser permissions. | boolean |
| If the player is currently playing video or ad content. | boolean |
| If the player is in replay screen. | boolean |
| If the player is in start screen. | boolean |
| The id of the video next video in the queue. | string |
| The reason why the playback has been allowed or not. | string |
| The current playback speed. | number |
| The current mode where the player is displayed. | string |
| The id of the video previous video which was played. | string |
| The player’s current scale mode. | string |
| The current volume level. The volume and mute params operate separately, therefore, you could have a player with full volume, but also muted. | number |
Video states (Android)
| States | Description | Type |
|---|---|---|
videoCreatedTime | The timestamp that corresponds to the creation of the video. | date |
videoDuration | The duration time of the video resource in seconds. | number |
videoId | The unique ID of the video. | string |
videoIsCreatedForKids | If the video is created for children. | boolean |
videoIsPasswordRequired | If the video required a password to be read. | boolean |
videoOwnerId | The id of the owner of the video. | string |
videoOwnerScreenName | The screen name of the owner of the video. | string |
videoOwnerUsername | The user name of the owner of the video. | string |
videoQualitiesList | The video qualities that are available. | string |
videoQuality | The quality value of the video loaded. | string |
videoSubtitlesList | The language codes of the subtitle tracks which are available for the current media resource. | string |
videoSubtitles | The language code of the subtitle track that is currently enabled. | string |
videoTime | The current playback position of the video in seconds. | number |
videoTitle | The title of the video loaded. | string |
Ad states (Android)
States | Description | Type |
|---|---|---|
| The advertiser name. | string |
| An array of parsed companion ad creatives. Example:
| array |
| The universal ad id node from the VAST or the ad id of the creative node from the VAST. | string |
| The id of the creative node from the VAST. | string |
| The description of the ad. | string |
| The duration time of the ad resource in seconds. | number |
| The reason why the last ad ended. | string |
| Contains information about the last error that occurred with the ad. | string |
| The id of the ad. | string |
| If an ad resource is running. | boolean |
| If the ad can be skipped by the user at this moment. | boolean |
| The position of the ad in the video. | string |
| The remaining time before the ad can be skipped, or | number |
| The current playback position of an ad in seconds. | number |
| The title of the ad. | string |
