-
Notifications
You must be signed in to change notification settings - Fork 2
Data Element Types
Yuhui edited this page Jan 9, 2023
·
5 revisions
Data Element | Description | Data type | Notes |
---|---|---|---|
Player State | Current state of the YouTube player. | String | |
Error Code | Numeric code that identifies the type of error that has occurred. | Integer | Only available with the "Player Error" Event Type. |
Error Message | Message about the error that occurred. | String | Only available with the "Player Error" Event Type. |
Module Names | Comma-separated list of module names that have been loaded. | String | Only available with the "API Changed" Event Type. |
Video Current Time | Elapsed time in seconds since the video started playing. | Floating point number | |
Video Duration | Duration in seconds of the currently playing video. | Integer | |
Video ID | YouTube ID of the currently loaded/playing video. | String | |
Video Loaded Fraction | Fraction of the video between 0 and 1 that the player shows as buffered. |
Floating point number | |
Video Milestone | Milestone that has been played for the currently playing video. | String | Only available with the "Video Milestone" Event Type. |
Video Muted | Whether the video is muted (true ) or unmuted (false ). |
Boolean | |
Video Playback Quality | New playback quality of the currently playing video. | String | Only available with the "Video Playback Quality Changed" Event Type. |
Video Playback Rate | Playback rate of the currently playing video. | Floating point number | |
Video Played Segment Time | Duration of seconds since the video was last played. | Floating point number | Only available with the "Video Paused", "Video Ended" and "Player Removed" Event Types. |
Video Played Total Time | Total duration of seconds between all the video plays and pauses. | Floating point number | Only available with the "Video Paused", "Video Ended" and "Player Removed" Event Types. |
Video Title | YouTube title of the currently loaded/playing video. | String | |
Video Type | Type of the currently loaded/playing video: live video-on-demand . |
String | |
Video URL | YouTube URL of the currently loaded/playing video. | String | |
Video Volume | The player's current volume between 0 and 100 . |
Integer |
Donate: PayPal
Support Information
Copyright © 2020-2024 Yuhui. All rights reserved.
Terms of Service | Privacy Policy | Cookie Policy | Acceptable Use Policy