cloudinary-video-player 3.1.2-edge.1 → 3.1.2-edge.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,523 @@
1
+ {
2
+ "$id": "cloudinary_video_player_schema",
3
+ "title": "Cloudinary Video Player Schema",
4
+ "type": "object",
5
+ "properties": {
6
+ "loop": {
7
+ "type": "boolean",
8
+ "default": false
9
+ },
10
+ "controls": {
11
+ "type": "boolean",
12
+ "default": true
13
+ },
14
+ "autoplay": {
15
+ "type": "boolean",
16
+ "default": false
17
+ },
18
+ "autoplayMode": {
19
+ "type": "string",
20
+ "enum": ["always", "on-scroll", "never"],
21
+ "default": "never"
22
+ },
23
+ "bigPlayButton": {
24
+ "type": "boolean",
25
+ "default": true
26
+ },
27
+ "playbackRates": {
28
+ "type": "array",
29
+ "items": {
30
+ "type": "number"
31
+ },
32
+ "default": []
33
+ },
34
+ "showLogo": {
35
+ "type": "boolean",
36
+ "default": true
37
+ },
38
+ "logoImageUrl": {
39
+ "type": "string",
40
+ "default": "https://cloudinary.com/images/logo.png"
41
+ },
42
+ "logoOnclickUrl": {
43
+ "type": "string",
44
+ "default": "https://cloudinary.com"
45
+ },
46
+ "videoJS": {
47
+ "type": "object",
48
+ "default": {}
49
+ },
50
+ "maxTries": {
51
+ "type": "number",
52
+ "default": 3
53
+ },
54
+ "muted": {
55
+ "type": "boolean",
56
+ "default": false
57
+ },
58
+ "playsinline": {
59
+ "type": "boolean",
60
+ "default": false
61
+ },
62
+ "videoTimeout": {
63
+ "type": "number",
64
+ "default": 55000
65
+ },
66
+ "preload": {
67
+ "type": "string",
68
+ "enum": ["auto", "metadata", "none"],
69
+ "default": "auto"
70
+ },
71
+ "sourceTransformation": {
72
+ "type": "object",
73
+ "default": {}
74
+ },
75
+ "allowUsageReport": {
76
+ "type": "boolean",
77
+ "default": true
78
+ },
79
+ "debug": {
80
+ "type": "boolean",
81
+ "default": false
82
+ },
83
+ "queryParams": {
84
+ "type": "object",
85
+ "default": {}
86
+ },
87
+ "fluid": {
88
+ "type": "boolean",
89
+ "default": true
90
+ },
91
+ "withCredentials": {
92
+ "type": "boolean",
93
+ "default": false
94
+ },
95
+ "analytics": {
96
+ "type": "boolean",
97
+ "default": false
98
+ },
99
+ "cloudinaryAnalytics": {
100
+ "oneOf": [
101
+ {
102
+ "type": "boolean",
103
+ "default": true
104
+ },
105
+ {
106
+ "type": "object",
107
+ "properties": {
108
+ "customData1": { "type": "string" },
109
+ "customData2": { "type": "string" },
110
+ "customData3": { "type": "string" },
111
+ "customData4": { "type": "string" },
112
+ "customData5": { "type": "string" }
113
+ },
114
+ "additionalProperties": false
115
+ }
116
+ ],
117
+ "default": true
118
+ },
119
+ "hideContextMenu": {
120
+ "type": "boolean",
121
+ "default": false
122
+ },
123
+ "playedEventPercents": {
124
+ "type": "array",
125
+ "items": {
126
+ "type": "number"
127
+ },
128
+ "default": [25, 50, 75, 100]
129
+ },
130
+ "showJumpControls": {
131
+ "type": "boolean",
132
+ "default": false
133
+ },
134
+ "chaptersButton": {
135
+ "type": "boolean",
136
+ "default": false
137
+ },
138
+ "pictureInPictureToggle": {
139
+ "type": "boolean",
140
+ "default": false
141
+ },
142
+ "seekThumbnails": {
143
+ "type": "boolean",
144
+ "default": true
145
+ },
146
+ "aiHighlightsGraph": {
147
+ "type": "boolean",
148
+ "default": false
149
+ },
150
+ "floatingWhenNotVisible": {
151
+ "type": "string",
152
+ "enum": ["left", "right", "none"],
153
+ "default": "none"
154
+ },
155
+ "playedEventTimes": {
156
+ "type": "array",
157
+ "items": {
158
+ "type": "number"
159
+ },
160
+ "default": []
161
+ },
162
+ "playlistWidget": {
163
+ "type": "object",
164
+ "properties": {
165
+ "direction": {
166
+ "type": "string",
167
+ "default": "horizontal"
168
+ },
169
+ "total": {
170
+ "type": "number",
171
+ "default": 0
172
+ }
173
+ },
174
+ "default": {
175
+ "direction": "horizontal",
176
+ "total": 0
177
+ }
178
+ },
179
+ "colors": {
180
+ "type": "object",
181
+ "properties": {
182
+ "base": {
183
+ "type": "string",
184
+ "default": "#000000"
185
+ },
186
+ "accent": {
187
+ "type": "string",
188
+ "default": "#FF620C"
189
+ },
190
+ "text": {
191
+ "type": "string",
192
+ "default": "#FFFFFF"
193
+ }
194
+ },
195
+ "default": {
196
+ "base": "#000000",
197
+ "accent": "#FF620C",
198
+ "text": "#FFFFFF"
199
+ }
200
+ },
201
+ "ads": {
202
+ "type": "object",
203
+ "properties": {
204
+ "adTagUrl": {
205
+ "type": "string",
206
+ "default": ""
207
+ },
208
+ "showCountdown": {
209
+ "type": "boolean",
210
+ "default": true
211
+ },
212
+ "adLabel": {
213
+ "type": "string",
214
+ "default": "Advertisement"
215
+ },
216
+ "locale": {
217
+ "type": "string",
218
+ "default": "en"
219
+ },
220
+ "prerollTimeout": {
221
+ "type": "number",
222
+ "default": 5000
223
+ },
224
+ "postrollTimeout": {
225
+ "type": "number",
226
+ "default": 5000
227
+ },
228
+ "adsInPlaylist": {
229
+ "type": "string",
230
+ "enum": ["first-video", "every-video"],
231
+ "default": "first-video"
232
+ }
233
+ },
234
+ "default": {
235
+ "adTagUrl": "",
236
+ "showCountdown": true,
237
+ "adLabel": "Advertisement",
238
+ "locale": "en",
239
+ "prerollTimeout": 5000,
240
+ "postrollTimeout": 5000,
241
+ "adsInPlaylist": "first-video"
242
+ }
243
+ },
244
+ "autoShowRecommendations": {
245
+ "type": "boolean",
246
+ "default": false
247
+ },
248
+ "fontFace": {
249
+ "type": "string",
250
+ "default": "Fira Sans"
251
+ },
252
+ "posterOptions": {
253
+ "type": "object",
254
+ "properties": {
255
+ "transformation": {
256
+ "type": "object",
257
+ "default": {}
258
+ }
259
+ },
260
+ "default": {
261
+ "transformation": {
262
+ "start_offset": 0
263
+ }
264
+ }
265
+ },
266
+ "sourceTypes": {
267
+ "type": "array",
268
+ "items": {
269
+ "type": "string"
270
+ },
271
+ "default": ["auto"]
272
+ },
273
+ "transformation": {
274
+ "oneOf": [
275
+ {
276
+ "type": "string",
277
+ "default": ""
278
+ },
279
+ {
280
+ "type": "array",
281
+ "default": []
282
+ },
283
+ {
284
+ "type": "object",
285
+ "default": {}
286
+ }
287
+ ],
288
+ "default": []
289
+ },
290
+ "shoppable": {
291
+ "type": "object",
292
+ "default": {}
293
+ },
294
+ "chapters": {
295
+ "oneOf": [
296
+ {
297
+ "type": "string"
298
+ },
299
+ {
300
+ "type": "object"
301
+ },
302
+ {
303
+ "type": "boolean"
304
+ }
305
+ ],
306
+ "default": false
307
+ },
308
+ "visualSearch": {
309
+ "type": "boolean",
310
+ "default": false
311
+ },
312
+ "interactionAreas": {
313
+ "type": "object",
314
+ "properties": {
315
+ "enable": {
316
+ "type": "boolean",
317
+ "default": false
318
+ },
319
+ "template": {
320
+ "type": "string",
321
+ "enum": ["portrait", "landscape", "all", "center"],
322
+ "default": "portrait"
323
+ },
324
+ "vttUrl": {
325
+ "type": "string",
326
+ "default": ""
327
+ },
328
+ "theme": {
329
+ "type": "object",
330
+ "properties": {
331
+ "template": {
332
+ "type": "string",
333
+ "enum": ["pulsing", "shadowed"],
334
+ "default": "pulsing"
335
+ }
336
+ },
337
+ "default": {
338
+ "template": "pulsing"
339
+ }
340
+ },
341
+ "layout": {
342
+ "type": "object",
343
+ "properties": {
344
+ "enable": {
345
+ "type": "boolean",
346
+ "default": false
347
+ },
348
+ "showAgain": {
349
+ "type": "boolean",
350
+ "default": false
351
+ }
352
+ },
353
+ "default": {
354
+ "enable": false,
355
+ "showAgain": false
356
+ }
357
+ }
358
+ },
359
+ "default": {
360
+ "enable": false,
361
+ "template": "portrait",
362
+ "vttUrl": "",
363
+ "theme": {
364
+ "template": "pulsing"
365
+ },
366
+ "layout": {
367
+ "enable": false,
368
+ "showAgain": false
369
+ }
370
+ }
371
+ },
372
+ "textTracks": {
373
+ "type": "object",
374
+ "properties": {
375
+ "options": {
376
+ "type": "object",
377
+ "properties": {
378
+ "theme": {
379
+ "type": "string",
380
+ "default": "default"
381
+ },
382
+ "fontFace": {
383
+ "type": "string",
384
+ "default": "Fira Sans"
385
+ },
386
+ "fontSize": {
387
+ "type": "string",
388
+ "default": "medium"
389
+ },
390
+ "gravity": {
391
+ "type": "string",
392
+ "default": "bottom"
393
+ },
394
+ "box": {
395
+ "type": "object",
396
+ "default": {}
397
+ },
398
+ "style": {
399
+ "type": "object",
400
+ "default": {}
401
+ },
402
+ "wordHighlightStyle": {
403
+ "type": "object",
404
+ "default": {}
405
+ }
406
+ },
407
+ "default": {
408
+ "theme": "default",
409
+ "fontFace": "Fira Sans",
410
+ "fontSize": "medium",
411
+ "gravity": "bottom",
412
+ "box": {},
413
+ "style": {},
414
+ "wordHighlightStyle": {}
415
+ }
416
+ },
417
+ "captions": {
418
+ "type": "object",
419
+ "properties": {
420
+ "label": {
421
+ "type": "string",
422
+ "default": "English"
423
+ },
424
+ "language": {
425
+ "type": "string",
426
+ "default": "en"
427
+ },
428
+ "default": {
429
+ "type": "boolean",
430
+ "default": true
431
+ },
432
+ "url": {
433
+ "type": "string",
434
+ "default": ""
435
+ },
436
+ "maxWords": {
437
+ "type": "number",
438
+ "default": 0
439
+ },
440
+ "wordHighlight": {
441
+ "type": "boolean",
442
+ "default": true
443
+ },
444
+ "timeOffset": {
445
+ "type": "number",
446
+ "default": 0
447
+ }
448
+ },
449
+ "default": {
450
+ "label": "English",
451
+ "language": "en",
452
+ "default": true,
453
+ "url": "",
454
+ "maxWords": 0,
455
+ "wordHighlight": true,
456
+ "timeOffset": 0
457
+ }
458
+ },
459
+ "subtitles": {
460
+ "type": "array",
461
+ "items": {
462
+ "type": "object",
463
+ "properties": {
464
+ "label": {
465
+ "type": "string",
466
+ "default": ""
467
+ },
468
+ "language": {
469
+ "type": "string",
470
+ "default": ""
471
+ },
472
+ "default": {
473
+ "type": "boolean",
474
+ "default": true
475
+ },
476
+ "url": {
477
+ "type": "string",
478
+ "default": ""
479
+ }
480
+ }
481
+ },
482
+ "default": [
483
+ {
484
+ "label": "English",
485
+ "default": true,
486
+ "language": "en"
487
+ }
488
+ ]
489
+ }
490
+ }
491
+ },
492
+ "title": {
493
+ "oneOf": [
494
+ {
495
+ "type": "string",
496
+ "default": ""
497
+ },
498
+ {
499
+ "type": "boolean",
500
+ "default": false
501
+ }
502
+ ]
503
+ },
504
+ "description": {
505
+ "oneOf": [
506
+ {
507
+ "type": "string",
508
+ "default": ""
509
+ },
510
+ {
511
+ "type": "boolean",
512
+ "default": false
513
+ }
514
+ ]
515
+ },
516
+ "adaptiveStreaming": {
517
+ "type": "string",
518
+ "enum": ["fastStart", "balanced", "highQuality"],
519
+ "default": "balanced"
520
+ }
521
+ },
522
+ "additionalProperties": true
523
+ }