Repository navigation
Expand file tree
/
Copy path1-0-0
More file actions
158 lines (158 loc) · 3.82 KB
/
Copy path1-0-0
File metadata and controls
158 lines (158 loc) · 3.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
{
"$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#",
"description": "Context Schema for a youtube player event",
"self": {
"vendor": "com.youtube",
"name": "youtube",
"format": "jsonschema",
"version": "1-0-0"
},
"type": "object",
"properties": {
"avaliablePlaybackRates": {
"type": "array",
"description": "An array of playback rates in which the current video is available",
"items": {
"type": "number",
"minimum": 0,
"maximum": 128
}
},
"avaliableQualityLevels": {
"type": ["array", "null"],
"description": "An array of quality levels in which the current video is available",
"items": {
"type": "string",
"maxLength": 128
}
},
"cued": {
"type": "boolean",
"description": "If the video is cued"
},
"playerId": {
"type": "string",
"description": "The HTML id of the video element",
"maxLength": 65535
},
"autoPlay": {
"type": "boolean",
"description": "This specifies whether the initial video will automatically start to play when the player loads."
},
"buffering": {
"type": "boolean",
"description": "If the player is buffering"
},
"controls": {
"type": "boolean",
"description": "Whether the video player controls are displayed"
},
"error": {
"type": [
"string",
"null"
],
"description": "A string of the latest error to occur, or null if no errors",
"enum": [
"INVALID_PARAMETER",
"HTML5_PLAYER_ERROR",
"NOT_FOUND",
"EMBED_DISALLOWED"
]
},
"loaded": {
"type": "integer",
"description": "The percentage of the video that the player shows as buffered",
"minimum": 0,
"maximum": 100
},
"origin": {
"type": [
"string",
"null"
],
"description": "The origin domain of the embed",
"maxLength": 65535
},
"playbackQuality": {
"type": "string",
"description": "The quality level of the current video",
"maxLength": 128
},
"playlist": {
"type": [
"array",
"null"
],
"description": "An array of the video IDs in the playlist as they are currently ordered."
},
"playlistIndex": {
"type": [
"number",
"null"
],
"description": "The index of the playlist video that is currently playing",
"minimum": 0,
"maximum": 65535
},
"unstarted": {
"type": "boolean",
"description": "If the player hasn't started"
},
"url": {
"type": "string",
"description": "The YouTube embed URL of the media resource",
"maxLength": 65535,
"format": "uri"
},
"fov": {
"type": [
"number",
"null"
],
"description": "The field-of-view of the view in degrees, as measured along the longer edge of the viewport",
"minimum": 30,
"maximum": 120
},
"roll": {
"type": [
"number",
"null"
],
"description": "The clockwise or counterclockwise rotational angle of the view in degrees",
"minimum": -180,
"maximum": 180
},
"pitch": {
"type": [
"number",
"null"
],
"description": "The vertical angle of the view in degrees",
"minimum": -90,
"maximum": 90
},
"yaw": {
"type": [
"number",
"null"
],
"description": "The horizontal angle of the view in degrees",
"minimum": 0,
"maximum": 360
}
},
"additionalProperties": false,
"required": [
"avaliablePlaybackRates",
"autoPlay",
"buffering",
"controls",
"cued",
"loaded",
"playbackQuality",
"playerId",
"unstarted",
"url"
]
}