@videojs/react 10.0.0-beta.30 → 10.0.0-beta.31

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.
Files changed (130) hide show
  1. package/dist/default/i18n/context.js.map +1 -1
  2. package/dist/default/i18n/create-i18n.js +3 -1
  3. package/dist/default/i18n/create-i18n.js.map +1 -1
  4. package/dist/default/i18n/get-provider-root-props.js +4 -2
  5. package/dist/default/i18n/get-provider-root-props.js.map +1 -1
  6. package/dist/default/player/container.js +16 -7
  7. package/dist/default/player/container.js.map +1 -1
  8. package/dist/default/presets/audio/minimal-skin.css +39 -7
  9. package/dist/default/presets/audio/skin.css +31 -7
  10. package/dist/default/presets/live-audio/minimal-skin.css +39 -7
  11. package/dist/default/presets/live-audio/skin.css +31 -7
  12. package/dist/default/presets/live-video/minimal-skin.css +39 -7
  13. package/dist/default/presets/live-video/minimal-skin.js +4 -1
  14. package/dist/default/presets/live-video/minimal-skin.js.map +1 -1
  15. package/dist/default/presets/live-video/minimal-skin.tailwind.js +4 -1
  16. package/dist/default/presets/live-video/minimal-skin.tailwind.js.map +1 -1
  17. package/dist/default/presets/live-video/skin.css +31 -7
  18. package/dist/default/presets/live-video/skin.js +4 -1
  19. package/dist/default/presets/live-video/skin.js.map +1 -1
  20. package/dist/default/presets/live-video/skin.tailwind.js +4 -1
  21. package/dist/default/presets/live-video/skin.tailwind.js.map +1 -1
  22. package/dist/default/presets/video/minimal-skin.css +39 -7
  23. package/dist/default/presets/video/minimal-skin.js +27 -11
  24. package/dist/default/presets/video/minimal-skin.js.map +1 -1
  25. package/dist/default/presets/video/minimal-skin.tailwind.js +28 -12
  26. package/dist/default/presets/video/minimal-skin.tailwind.js.map +1 -1
  27. package/dist/default/presets/video/skin.css +31 -7
  28. package/dist/default/presets/video/skin.js +27 -11
  29. package/dist/default/presets/video/skin.js.map +1 -1
  30. package/dist/default/presets/video/skin.tailwind.js +28 -12
  31. package/dist/default/presets/video/skin.tailwind.js.map +1 -1
  32. package/dist/default/skins/dist/default/default/tailwind/components/button-group.js +1 -1
  33. package/dist/default/skins/dist/default/default/tailwind/components/button-group.js.map +1 -1
  34. package/dist/default/skins/dist/default/default/tailwind/components/controls.js +1 -1
  35. package/dist/default/skins/dist/default/default/tailwind/components/controls.js.map +1 -1
  36. package/dist/default/skins/dist/default/default/tailwind/components/menu.js +8 -7
  37. package/dist/default/skins/dist/default/default/tailwind/components/menu.js.map +1 -1
  38. package/dist/default/skins/dist/default/default/tailwind/components/time.js +1 -1
  39. package/dist/default/skins/dist/default/default/tailwind/components/time.js.map +1 -1
  40. package/dist/default/skins/dist/default/minimal/tailwind/components/button-group.js +1 -1
  41. package/dist/default/skins/dist/default/minimal/tailwind/components/button-group.js.map +1 -1
  42. package/dist/default/skins/dist/default/minimal/tailwind/components/controls.js +1 -1
  43. package/dist/default/skins/dist/default/minimal/tailwind/components/controls.js.map +1 -1
  44. package/dist/default/skins/dist/default/minimal/tailwind/components/menu.js +8 -7
  45. package/dist/default/skins/dist/default/minimal/tailwind/components/menu.js.map +1 -1
  46. package/dist/default/skins/dist/default/minimal/tailwind/components/time.js +2 -2
  47. package/dist/default/skins/dist/default/minimal/tailwind/components/time.js.map +1 -1
  48. package/dist/default/ui/hooks/use-slider.js +1 -2
  49. package/dist/default/ui/hooks/use-slider.js.map +1 -1
  50. package/dist/dev/i18n/context.d.ts +3 -1
  51. package/dist/dev/i18n/context.d.ts.map +1 -1
  52. package/dist/dev/i18n/context.js.map +1 -1
  53. package/dist/dev/i18n/create-i18n.d.ts.map +1 -1
  54. package/dist/dev/i18n/create-i18n.js +3 -1
  55. package/dist/dev/i18n/create-i18n.js.map +1 -1
  56. package/dist/dev/i18n/get-provider-root-props.js +4 -2
  57. package/dist/dev/i18n/get-provider-root-props.js.map +1 -1
  58. package/dist/dev/player/container.d.ts.map +1 -1
  59. package/dist/dev/player/container.js +16 -7
  60. package/dist/dev/player/container.js.map +1 -1
  61. package/dist/dev/presets/audio/minimal-skin.css +39 -7
  62. package/dist/dev/presets/audio/skin.css +31 -7
  63. package/dist/dev/presets/live-audio/minimal-skin.css +39 -7
  64. package/dist/dev/presets/live-audio/skin.css +31 -7
  65. package/dist/dev/presets/live-video/minimal-skin.css +39 -7
  66. package/dist/dev/presets/live-video/minimal-skin.js +4 -1
  67. package/dist/dev/presets/live-video/minimal-skin.js.map +1 -1
  68. package/dist/dev/presets/live-video/minimal-skin.tailwind.js +4 -1
  69. package/dist/dev/presets/live-video/minimal-skin.tailwind.js.map +1 -1
  70. package/dist/dev/presets/live-video/skin.css +31 -7
  71. package/dist/dev/presets/live-video/skin.js +4 -1
  72. package/dist/dev/presets/live-video/skin.js.map +1 -1
  73. package/dist/dev/presets/live-video/skin.tailwind.js +4 -1
  74. package/dist/dev/presets/live-video/skin.tailwind.js.map +1 -1
  75. package/dist/dev/presets/video/minimal-skin.css +39 -7
  76. package/dist/dev/presets/video/minimal-skin.d.ts.map +1 -1
  77. package/dist/dev/presets/video/minimal-skin.js +27 -11
  78. package/dist/dev/presets/video/minimal-skin.js.map +1 -1
  79. package/dist/dev/presets/video/minimal-skin.tailwind.d.ts.map +1 -1
  80. package/dist/dev/presets/video/minimal-skin.tailwind.js +28 -12
  81. package/dist/dev/presets/video/minimal-skin.tailwind.js.map +1 -1
  82. package/dist/dev/presets/video/skin.css +31 -7
  83. package/dist/dev/presets/video/skin.d.ts.map +1 -1
  84. package/dist/dev/presets/video/skin.js +27 -11
  85. package/dist/dev/presets/video/skin.js.map +1 -1
  86. package/dist/dev/presets/video/skin.tailwind.d.ts.map +1 -1
  87. package/dist/dev/presets/video/skin.tailwind.js +28 -12
  88. package/dist/dev/presets/video/skin.tailwind.js.map +1 -1
  89. package/dist/dev/skins/dist/default/default/tailwind/components/button-group.js +1 -1
  90. package/dist/dev/skins/dist/default/default/tailwind/components/button-group.js.map +1 -1
  91. package/dist/dev/skins/dist/default/default/tailwind/components/controls.js +1 -1
  92. package/dist/dev/skins/dist/default/default/tailwind/components/controls.js.map +1 -1
  93. package/dist/dev/skins/dist/default/default/tailwind/components/menu.js +8 -7
  94. package/dist/dev/skins/dist/default/default/tailwind/components/menu.js.map +1 -1
  95. package/dist/dev/skins/dist/default/default/tailwind/components/time.js +1 -1
  96. package/dist/dev/skins/dist/default/default/tailwind/components/time.js.map +1 -1
  97. package/dist/dev/skins/dist/default/minimal/tailwind/components/button-group.js +1 -1
  98. package/dist/dev/skins/dist/default/minimal/tailwind/components/button-group.js.map +1 -1
  99. package/dist/dev/skins/dist/default/minimal/tailwind/components/controls.js +1 -1
  100. package/dist/dev/skins/dist/default/minimal/tailwind/components/controls.js.map +1 -1
  101. package/dist/dev/skins/dist/default/minimal/tailwind/components/menu.js +8 -7
  102. package/dist/dev/skins/dist/default/minimal/tailwind/components/menu.js.map +1 -1
  103. package/dist/dev/skins/dist/default/minimal/tailwind/components/time.js +2 -2
  104. package/dist/dev/skins/dist/default/minimal/tailwind/components/time.js.map +1 -1
  105. package/dist/dev/ui/hooks/use-slider.d.ts.map +1 -1
  106. package/dist/dev/ui/hooks/use-slider.js +1 -2
  107. package/dist/dev/ui/hooks/use-slider.js.map +1 -1
  108. package/docs/README.md +1 -1
  109. package/docs/concepts/media-sources.md +26 -2
  110. package/docs/concepts/skins.md +48 -16
  111. package/docs/how-to/customize-skins.md +7933 -50
  112. package/docs/how-to/i18n-switch-locale.md +27 -0
  113. package/docs/how-to/installation.md +4 -4
  114. package/docs/how-to/migrate-from-plyr.md +1 -1
  115. package/docs/llms.txt +7 -0
  116. package/docs/reference/cloudflare-video.md +223 -0
  117. package/docs/reference/dash-video.md +55 -0
  118. package/docs/reference/feature-metadata.md +3 -1
  119. package/docs/reference/hls-audio.md +27 -1
  120. package/docs/reference/hls-video.md +39 -1
  121. package/docs/reference/hlsjs-video.md +627 -0
  122. package/docs/reference/native-hls-video.md +41 -0
  123. package/docs/reference/shaka-video.md +359 -0
  124. package/docs/reference/spotify-audio.md +188 -0
  125. package/docs/reference/tiktok-video.md +280 -0
  126. package/docs/reference/title.md +1 -1
  127. package/docs/reference/twitch-video.md +211 -0
  128. package/docs/reference/vimeo-video.md +736 -0
  129. package/docs/reference/youtube-video.md +339 -0
  130. package/package.json +8 -8
@@ -0,0 +1,736 @@
1
+ # VimeoVideo
2
+
3
+ Video component that plays Vimeo videos and live events through the Vimeo player
4
+
5
+ Video component that plays Vimeo videos and live events through the [Vimeo player SDK](https://developer.vimeo.com/player/sdk). Vimeo’s own chrome stays hidden by default, so it drops into a [player skin](../concepts/skins.md) like any other media component; set `controls` to use Vimeo’s UI instead.
6
+
7
+ Of the embed-backed media components, this one comes closest to a native `<video>`: volume, mute, playback rate, seeking, looping, and picture-in-picture all work, and the embed pushes real events instead of being polled.
8
+
9
+ ## Load a source
10
+
11
+ `src` takes a numeric video id or a Vimeo URL. Watch (`vimeo.com/<id>`), embed (`player.vimeo.com/video/<id>`), and event (`vimeo.com/event/<id>`) URLs all work.
12
+
13
+ tsx
14
+
15
+ ```
16
+ <VimeoVideo src="https://vimeo.com/76979871" />
17
+ ```
18
+
19
+ Collection URLs aren’t supported: channels, showcases, albums, groups, on-demand pages, and user-scoped paths carry no id the player can load. Link to a specific video instead. `#t=` fragments are ignored as well; use `engine.vimeo.start_time` to start partway in.
20
+
21
+ ## Unlisted videos
22
+
23
+ An unlisted video needs the hash Vimeo issues alongside its id. Pass it the way Vimeo writes it, either as a trailing path segment or as an `h` parameter:
24
+
25
+ code
26
+
27
+ ```
28
+ https://vimeo.com/76979871/abc123def
29
+ https://vimeo.com/76979871?h=abc123def
30
+ ```
31
+
32
+ Both reach the embed as its `h` parameter. When a URL carries the hash in both places, the `h` parameter wins.
33
+
34
+ ## Live events
35
+
36
+ A `vimeo.com/event/<id>` URL plays that event through Vimeo’s event embed, and its unlisted hash becomes a path segment rather than a parameter. The media reports no stream type or live window, so a player skin renders it with the same controls as an on-demand video rather than a live UI.
37
+
38
+ ## Behavior
39
+
40
+ * Fullscreen goes through the Vimeo player, so Vimeo’s own fullscreen chrome appears and the player reports the state back.
41
+ * Captions round-trip by name only: the embed’s track list appears in `textTracks` and selecting one enables it, but no cues cross over. Vimeo draws captions inside the iframe.
42
+ * `poster` has no effect. The embed shows its own thumbnail, which `engine.vimeo.thumbnail_id` picks.
43
+ * `playbackRate` is limited to Vimeo’s supported range, 0.5 through 2.
44
+ * `playsInline` and `preload` are read when the embed URL is built, so changing them later doesn’t take effect.
45
+ * The video’s Vimeo title arrives as content data, so a player skin can show it without fetching anything yourself.
46
+
47
+ ## Examples
48
+
49
+ ### Basic Usage
50
+
51
+ App.tsx
52
+
53
+ App.css
54
+
55
+ ```
56
+ import { VimeoVideo } from '@videojs/react/media/vimeo-video';
57
+
58
+ export default function BasicUsage() {
59
+ return (
60
+ <div className="vimeo-video">
61
+ <VimeoVideo src="https://vimeo.com/76979871" controls />
62
+ </div>
63
+ );
64
+ }
65
+ ```
66
+ ```
67
+ .vimeo-video {
68
+ width: 100%;
69
+ aspect-ratio: 16 / 9;
70
+ }
71
+ ```
72
+
73
+ ## API Reference
74
+
75
+ ### Props
76
+
77
+ Accepts these Video.js-specific props:
78
+
79
+ Prop
80
+
81
+ Type
82
+
83
+ Default
84
+
85
+ Details
86
+
87
+ `autoplay`
88
+
89
+ `boolean`
90
+
91
+ `false`
92
+
93
+ `controls`
94
+
95
+ `boolean`
96
+
97
+ `false`
98
+
99
+ `defaultMuted`
100
+
101
+ `boolean`
102
+
103
+ `false`
104
+
105
+ `loop`
106
+
107
+ `boolean`
108
+
109
+ `false`
110
+
111
+ `muted`
112
+
113
+ `boolean`
114
+
115
+ `false`
116
+
117
+ `playsInline`
118
+
119
+ `boolean`
120
+
121
+ `true`
122
+
123
+ `poster`
124
+
125
+ `string`
126
+
127
+ `''`
128
+
129
+ `preload`
130
+
131
+ `MediaPreloadType`
132
+
133
+ `'metadata'`
134
+
135
+ `source`
136
+
137
+ `VimeoSource | null`
138
+
139
+ `null`
140
+
141
+
142
+
143
+ Description
144
+
145
+ Structured source: `src` plus embed options under `engine.vimeo`. Replacing it re-derives `src`.
146
+
147
+ `src`
148
+
149
+ `string`
150
+
151
+ `''`
152
+
153
+ ### Engine options
154
+
155
+ #### `source.engine.vimeo`
156
+
157
+ Pass [Vimeo embed parameters](https://developer.vimeo.com/player/sdk/embed) under `source.engine.vimeo`, spelled exactly as Vimeo spells them. [Media Sources](../concepts/media-sources.md) covers how engine options fit into a structured source.
158
+
159
+ These options are typed from Vimeo’s own SDK, so your editor completes every parameter and rejects one Vimeo doesn’t have. That also means the list covers Vimeo’s oEmbed API alongside the player: `id` and `url` both override the video `src` names, and `width`, `height`, `maxwidth`, `maxheight`, and `responsive` size an oEmbed response rather than this element. Pass the video through `src`, and size the element with CSS.
160
+
161
+ `autoplay`, `controls`, `loop`, `muted`, `playsinline`, and `preload` come from the props of the same name. Setting them here overrides the prop, which is worth knowing when a value seems to be ignored. The element also sends `transparent: false`, where Vimeo’s default is `true`.
162
+
163
+ tsx
164
+
165
+ ```
166
+ <VimeoVideo
167
+ source={{
168
+ src: 'https://vimeo.com/76979871',
169
+ engine: { vimeo: { color: 'f03e3e', start_time: 30, speed: true } },
170
+ }}
171
+ />
172
+ ```
173
+
174
+ Option
175
+
176
+ Type
177
+
178
+ Details
179
+
180
+ `airplay`
181
+
182
+ `boolean`
183
+
184
+
185
+
186
+ Description
187
+
188
+ Whether AirPlay is enabled in the embeddable player
189
+
190
+ `audio_tracks`
191
+
192
+ `boolean`
193
+
194
+
195
+
196
+ Description
197
+
198
+ Whether multiple audio tracks can appear in the embeddable player
199
+
200
+ `audiotrack`
201
+
202
+ `string`
203
+
204
+
205
+
206
+ Description
207
+
208
+ The initial audio track to play with the video. Can be language code (fr), language code and region (fr-ca), or language code and kind (fr,descriptions). Set to 'main' to select the original audio
209
+
210
+ `autopause`
211
+
212
+ `boolean`
213
+
214
+
215
+
216
+ Description
217
+
218
+ Whether to pause the current video when another Vimeo video on the same page starts to play
219
+
220
+ `autoplay`
221
+
222
+ `boolean`
223
+
224
+
225
+
226
+ Description
227
+
228
+ Whether to start playback of the video automatically. This feature might not work on all devices
229
+
230
+ `background`
231
+
232
+ `boolean`
233
+
234
+
235
+
236
+ Description
237
+
238
+ Whether the player is in background mode, which hides the playback controls, enables autoplay, and loops the video
239
+
240
+ `byline`
241
+
242
+ `boolean`
243
+
244
+
245
+
246
+ Description
247
+
248
+ Whether to display the video owner's name
249
+
250
+ `cc`
251
+
252
+ `boolean`
253
+
254
+
255
+
256
+ Description
257
+
258
+ Whether closed captions are enabled in the embeddable player
259
+
260
+ `chapter_id`
261
+
262
+ `string`
263
+
264
+
265
+
266
+ Description
267
+
268
+ The chapter by ID to start playback at. This is only available when the Player is created with a video id or url, not an existing iframe
269
+
270
+ `chapters`
271
+
272
+ `boolean`
273
+
274
+
275
+
276
+ Description
277
+
278
+ Whether chapters are enabled in the embeddable player
279
+
280
+ `chromecast`
281
+
282
+ `boolean`
283
+
284
+
285
+
286
+ Description
287
+
288
+ Whether the Chromecast button appears in the embeddable player
289
+
290
+ `color`
291
+
292
+ `string`
293
+
294
+
295
+
296
+ Description
297
+
298
+ The hexadecimal accent color value of the playback controls (normally 00ADEF)
299
+
300
+ `colors`
301
+
302
+ `VimeoColors`
303
+
304
+
305
+
306
+ Description
307
+
308
+ The hexadecimal color values of the player in order: \[Primary, Accent, Text/Icon, Background\] Default values: \["000000", "00ADEF", "FFFFFF", "000000"\]
309
+
310
+ `controls`
311
+
312
+ `boolean`
313
+
314
+
315
+
316
+ Description
317
+
318
+ Whether to display the player's interactive elements, including the playbar and sharing buttons
319
+
320
+ `disable_context_menu`
321
+
322
+ `boolean`
323
+
324
+
325
+
326
+ Description
327
+
328
+ Whether to disable the custom right-click context menu (which shows options like "Open debug panel", "Copy debug info", etc.)
329
+
330
+ `dnt`
331
+
332
+ `boolean`
333
+
334
+
335
+
336
+ Description
337
+
338
+ Whether to prevent the player from tracking session data, including setting cookies
339
+
340
+ `end_time`
341
+
342
+ `number`
343
+
344
+
345
+
346
+ Description
347
+
348
+ In Segmented Playback mode, the time in seconds where playback ends for the video. This is only available when the Player is created with a video id or url, not an existing iframe
349
+
350
+ `fullscreen`
351
+
352
+ `boolean`
353
+
354
+
355
+
356
+ Description
357
+
358
+ Whether to show the fullscreen button in the embeddable player
359
+
360
+ `height`
361
+
362
+ `number`
363
+
364
+
365
+
366
+ Description
367
+
368
+ The height of the video in pixels
369
+
370
+ `id`
371
+
372
+ `VideoId`
373
+
374
+
375
+
376
+ Description
377
+
378
+ The Vimeo clip ID of video to load. Must be provided if not providing `url` or iframe element to first argument of Player constructor
379
+
380
+ `initial_quality`
381
+
382
+ `string`
383
+
384
+
385
+
386
+ Description
387
+
388
+ The playback quality of the first seconds of video loaded. Common values are 360p, 720p, 1080p, 2k, and 4k
389
+
390
+ `interactive_markers`
391
+
392
+ `boolean`
393
+
394
+
395
+
396
+ Description
397
+
398
+ Whether to display markers representing the timestamp where hotspots appear on an interactive video
399
+
400
+ `interactive_params`
401
+
402
+ `Record<string, string>`
403
+
404
+
405
+
406
+ Description
407
+
408
+ Key-value pairs representing dynamic parameters that are utilized on interactive videos
409
+
410
+ `keyboard`
411
+
412
+ `boolean`
413
+
414
+
415
+
416
+ Description
417
+
418
+ Whether to enable keyboard input to trigger player events
419
+
420
+ `loop`
421
+
422
+ `boolean`
423
+
424
+
425
+
426
+ Description
427
+
428
+ Whether to restart the video automatically after reaching the end
429
+
430
+ `max_quality`
431
+
432
+ `string`
433
+
434
+
435
+
436
+ Description
437
+
438
+ The highest possible quality that the player automatically switches to during video playback
439
+
440
+ `maxheight`
441
+
442
+ `number`
443
+
444
+
445
+
446
+ Description
447
+
448
+ The height of the video in pixels, where the video won't exceed its native height
449
+
450
+ `maxwidth`
451
+
452
+ `number`
453
+
454
+
455
+
456
+ Description
457
+
458
+ The width of the video in pixels, where the video won't exceed its native width
459
+
460
+ `min_quality`
461
+
462
+ `string`
463
+
464
+
465
+
466
+ Description
467
+
468
+ The lowest possible quality that the player automatically switches to during video playback
469
+
470
+ `muted`
471
+
472
+ `boolean`
473
+
474
+
475
+
476
+ Description
477
+
478
+ Whether the video is muted upon loading. The true value is required for the autoplay behavior in some browsers
479
+
480
+ `pip`
481
+
482
+ `boolean`
483
+
484
+
485
+
486
+ Description
487
+
488
+ Whether to include the picture-in-picture button among the player controls
489
+
490
+ `play_button_position`
491
+
492
+ `"auto" | "bottom" | "center"`
493
+
494
+
495
+
496
+ Description
497
+
498
+ The position of the play button within the embeddable player. Other possible values include 'bottom' and 'center'
499
+
500
+ `playsinline`
501
+
502
+ `boolean`
503
+
504
+
505
+
506
+ Description
507
+
508
+ Whether the video plays inline on supported mobile devices
509
+
510
+ `portrait`
511
+
512
+ `boolean`
513
+
514
+
515
+
516
+ Description
517
+
518
+ Whether to display the video owner's portrait
519
+
520
+ `prefer_mms`
521
+
522
+ `boolean`
523
+
524
+
525
+
526
+ Description
527
+
528
+ Whether to allow MMS (Managed Media Source) for video playback in Safari
529
+
530
+ `preload`
531
+
532
+ `"metadata" | "none" | "auto" | "metad...`
533
+
534
+
535
+
536
+ Description
537
+
538
+ The loading behavior for the player before playback is initiated. 'metadata' = load metadata immediately 'metadata\_on\_hover' = load metadata only when user hovers 'auto' = load metadata and first few seconds immediately 'auto\_on\_hover' = load metadata and first few seconds on hover 'none' = don't load any data until playback begins
539
+
540
+ Type
541
+
542
+ `"metadata" | "none" | "auto" | "metadata_on_hover" | "auto_on_hover"`
543
+
544
+ `progress_bar`
545
+
546
+ `boolean`
547
+
548
+
549
+
550
+ Description
551
+
552
+ Whether to show the progress bar in the embeddable player
553
+
554
+ `quality`
555
+
556
+ `string`
557
+
558
+
559
+
560
+ Description
561
+
562
+ The playback quality of the video. Use 'auto' for best quality given available bandwidth
563
+
564
+ `quality_selector`
565
+
566
+ `boolean`
567
+
568
+
569
+
570
+ Description
571
+
572
+ Whether to show the quality selector in the embeddable player
573
+
574
+ `referrerPolicy`
575
+
576
+ `ReferrerPolicy`
577
+
578
+
579
+
580
+ Description
581
+
582
+ `referrerpolicy` for the embed iframe. Not a Vimeo embed parameter.
583
+
584
+ `responsive`
585
+
586
+ `boolean`
587
+
588
+
589
+
590
+ Description
591
+
592
+ Whether to return a responsive embed code
593
+
594
+ `skipping_forward`
595
+
596
+ `boolean`
597
+
598
+
599
+
600
+ Description
601
+
602
+ Whether users can skip forward in the embeddable player
603
+
604
+ `speed`
605
+
606
+ `boolean`
607
+
608
+
609
+
610
+ Description
611
+
612
+ Whether to include playback speed among the player preferences
613
+
614
+ `start_time`
615
+
616
+ `number`
617
+
618
+
619
+
620
+ Description
621
+
622
+ The time in seconds to start playback at. This is only available when the Player is created with a video id or url, not an existing iframe
623
+
624
+ `texttrack`
625
+
626
+ `string`
627
+
628
+
629
+
630
+ Description
631
+
632
+ The text track to display with the video. Can be language code (en), language code and locale (en-US), or language code and kind (en.captions). Use 'en-x-autogen' for automatically generated closed captions
633
+
634
+ `thumbnail_id`
635
+
636
+ `string`
637
+
638
+
639
+
640
+ Description
641
+
642
+ The ID of the thumbnail to load from the video's available thumbnail set
643
+
644
+ `title`
645
+
646
+ `boolean`
647
+
648
+
649
+
650
+ Description
651
+
652
+ Whether to display the video's title
653
+
654
+ `transcript`
655
+
656
+ `boolean`
657
+
658
+
659
+
660
+ Description
661
+
662
+ Whether transcript controls can appear in the embeddable player
663
+
664
+ `transparent`
665
+
666
+ `boolean`
667
+
668
+
669
+
670
+ Description
671
+
672
+ Whether the responsive player and transparent background are enabled
673
+
674
+ `unmute_button`
675
+
676
+ `boolean`
677
+
678
+
679
+
680
+ Description
681
+
682
+ Whether to display the unmute button
683
+
684
+ `url`
685
+
686
+ `VimeoUrl`
687
+
688
+
689
+
690
+ Description
691
+
692
+ The Vimeo video URL to load. Must be provided if not providing `id` or iframe element to first argument of Player constructor
693
+
694
+ `vimeo_logo`
695
+
696
+ `boolean`
697
+
698
+
699
+
700
+ Description
701
+
702
+ Whether to show the Vimeo logo in the embeddable player
703
+
704
+ `volume`
705
+
706
+ `boolean`
707
+
708
+
709
+
710
+ Description
711
+
712
+ Whether to show the volume selector in the embeddable player
713
+
714
+ `watch_full_video`
715
+
716
+ `boolean`
717
+
718
+
719
+
720
+ Description
721
+
722
+ Whether to show the Watch Full Video button when Segmented Playback mode is enabled
723
+
724
+ `width`
725
+
726
+ `number`
727
+
728
+
729
+
730
+ Description
731
+
732
+ The width of the video in pixels
733
+
734
+ ### Ref
735
+
736
+ Forwards its ref to the rendered `<iframe>`. The ref is an [HTMLIFrameElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement). Control playback with the component props and player APIs rather than the iframe ref.