@gcorevideo/player 2.20.7 → 2.20.9

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 (218) hide show
  1. package/dist/core.js +54 -25
  2. package/dist/index.css +1184 -1184
  3. package/dist/index.js +298 -267
  4. package/dist/player.d.ts +178 -126
  5. package/dist/plugins/index.css +841 -841
  6. package/dist/plugins/index.js +192 -192
  7. package/docs/api/player.bottomgear.md +14 -0
  8. package/docs/api/player.bottomgear.refresh.md +20 -0
  9. package/docs/api/player.clapprnerdstats.md +1 -1
  10. package/docs/api/player.clapprstats.exportmetrics.md +1 -1
  11. package/docs/api/player.clapprstats.md +1 -15
  12. package/docs/api/player.clapprstats.setupdatemetrics.md +2 -0
  13. package/docs/api/player.clipsplugin.md +1 -1
  14. package/docs/api/player.clipspluginsettings.md +5 -2
  15. package/docs/api/player.clipspluginsettings.text.md +3 -0
  16. package/docs/api/{player.errorscreen.bindevents.md → player.containerpluginconstructor.md} +7 -6
  17. package/docs/api/{player.errorscreen.render.md → player.corepluginconstructor.md} +7 -6
  18. package/docs/api/player.errordesc.md +28 -0
  19. package/docs/api/player.errorscreen.md +1 -220
  20. package/docs/api/{player.errorscreen.hide.md → player.errorscreenpluginsettings.md} +7 -7
  21. package/docs/api/player.levelselector.md +3 -9
  22. package/docs/api/player.levelselectorpluginsettings.labels.md +24 -0
  23. package/docs/api/player.levelselectorpluginsettings.md +79 -0
  24. package/docs/api/player.levelselectorpluginsettings.restrictresolution.md +16 -0
  25. package/docs/api/player.md +93 -16
  26. package/docs/api/{player.errorscreen.container.md → player.mediacontrol.currentseekpos.md} +3 -3
  27. package/docs/api/player.mediacontrol.disable.md +1 -1
  28. package/docs/api/player.mediacontrol.md +23 -2
  29. package/docs/api/{player.gearevents.md → player.mediacontrolevents.md} +4 -4
  30. package/docs/api/player.multicamera.md +1 -29
  31. package/docs/api/player.playbackerror.md +19 -0
  32. package/docs/api/{player.errorscreen.supportedversion.md → player.playbackerror.ui.md} +7 -4
  33. package/docs/api/player.playbackerrorcode.md +3 -3
  34. package/docs/api/{player.errorscreen.show.md → player.playbackrate._constructor_.md} +7 -11
  35. package/docs/api/player.playbackrate.md +35 -2
  36. package/docs/api/player.player.registerplugin.md +2 -2
  37. package/docs/api/player.player.unregisterplugin.md +2 -2
  38. package/docs/api/player.playerpluginconstructor.md +17 -0
  39. package/docs/api/player.share.attributes.md +3 -0
  40. package/docs/api/player.share.bindevents.md +3 -0
  41. package/docs/api/player.share.canshowshare.md +3 -0
  42. package/docs/api/player.share.events.md +3 -0
  43. package/docs/api/player.share.hideshare.md +3 -0
  44. package/docs/api/player.share.initializeicons.md +3 -0
  45. package/docs/api/player.share.md +40 -1
  46. package/docs/api/player.share.name.md +3 -0
  47. package/docs/api/player.share.onshareembedclick.md +3 -0
  48. package/docs/api/player.share.onsharefb.md +3 -0
  49. package/docs/api/player.share.onsharehide.md +3 -0
  50. package/docs/api/player.share.onsharelinkclick.md +3 -0
  51. package/docs/api/player.share.onshareshow.md +3 -0
  52. package/docs/api/player.share.onsharetw.md +3 -0
  53. package/docs/api/player.share.render.md +3 -0
  54. package/docs/api/player.share.showshare.md +3 -0
  55. package/docs/api/player.share.supportedversion.md +3 -0
  56. package/docs/api/player.share.template.md +3 -0
  57. package/docs/api/player.share.unbindevents.md +3 -0
  58. package/docs/api/player.skiptime.attributes.md +3 -0
  59. package/docs/api/player.skiptime.bindevents.md +3 -0
  60. package/docs/api/player.skiptime.container.md +3 -0
  61. package/docs/api/player.skiptime.events.md +3 -0
  62. package/docs/api/player.skiptime.handlerewindclicks.md +3 -0
  63. package/docs/api/player.skiptime.md +30 -1
  64. package/docs/api/player.skiptime.name.md +3 -0
  65. package/docs/api/player.skiptime.render.md +3 -0
  66. package/docs/api/player.skiptime.setback.md +3 -0
  67. package/docs/api/player.skiptime.setforward.md +3 -0
  68. package/docs/api/player.skiptime.setmidclick.md +3 -0
  69. package/docs/api/player.skiptime.supportedversion.md +3 -0
  70. package/docs/api/player.skiptime.template.md +3 -0
  71. package/docs/api/player.skiptime.togglefullscreen.md +3 -0
  72. package/docs/api/player.spinnerevents.md +4 -1
  73. package/docs/api/player.spinnerthreebounce.hide.md +1 -1
  74. package/docs/api/player.spinnerthreebounce.md +7 -5
  75. package/docs/api/player.spinnerthreebounce.show.md +40 -2
  76. package/docs/api/player.telemetry.md +1 -1
  77. package/docs/api/player.telemetrypluginsettings.md +1 -1
  78. package/docs/api/{player.errorscreen.unbindevents.md → player.telemetrysendfn.md} +6 -6
  79. package/lib/Player.d.ts +13 -4
  80. package/lib/Player.d.ts.map +1 -1
  81. package/lib/Player.js +17 -12
  82. package/lib/index.core.d.ts +0 -1
  83. package/lib/index.core.d.ts.map +1 -1
  84. package/lib/index.core.js +0 -1
  85. package/lib/index.plugins.d.ts +0 -1
  86. package/lib/index.plugins.d.ts.map +1 -1
  87. package/lib/index.plugins.js +0 -1
  88. package/lib/playback/BasePlayback.d.ts +5 -0
  89. package/lib/playback/BasePlayback.d.ts.map +1 -1
  90. package/lib/playback/BasePlayback.js +8 -0
  91. package/lib/playback/HTML5Video.d.ts +4 -0
  92. package/lib/playback/HTML5Video.d.ts.map +1 -0
  93. package/lib/playback/HTML5Video.js +3 -0
  94. package/lib/playback/dash-playback/DashPlayback.d.ts +1 -0
  95. package/lib/playback/dash-playback/DashPlayback.d.ts.map +1 -1
  96. package/lib/playback/dash-playback/DashPlayback.js +6 -2
  97. package/lib/playback/hls-playback/HlsPlayback.d.ts.map +1 -1
  98. package/lib/playback/hls-playback/HlsPlayback.js +1 -1
  99. package/lib/playback/index.d.ts.map +1 -1
  100. package/lib/playback/index.js +2 -0
  101. package/lib/playback/types.d.ts +9 -0
  102. package/lib/playback/types.d.ts.map +1 -0
  103. package/lib/playback/types.js +9 -0
  104. package/lib/plugins/bottom-gear/BottomGear.d.ts +7 -12
  105. package/lib/plugins/bottom-gear/BottomGear.d.ts.map +1 -1
  106. package/lib/plugins/bottom-gear/BottomGear.js +5 -14
  107. package/lib/plugins/clappr-nerd-stats/ClapprNerdStats.d.ts +1 -1
  108. package/lib/plugins/clappr-nerd-stats/ClapprNerdStats.js +3 -3
  109. package/lib/plugins/clappr-nerd-stats/speedtest/Speedtest.d.ts.map +1 -1
  110. package/lib/plugins/clappr-nerd-stats/speedtest/Speedtest.js +8 -8
  111. package/lib/plugins/clappr-stats/ClapprStats.d.ts +4 -5
  112. package/lib/plugins/clappr-stats/ClapprStats.d.ts.map +1 -1
  113. package/lib/plugins/clappr-stats/ClapprStats.js +4 -3
  114. package/lib/plugins/clips/Clips.d.ts +3 -2
  115. package/lib/plugins/clips/Clips.d.ts.map +1 -1
  116. package/lib/plugins/clips/Clips.js +1 -1
  117. package/lib/plugins/context-menu/ContextMenu.d.ts.map +1 -1
  118. package/lib/plugins/dvr-controls/DvrControls.d.ts +4 -3
  119. package/lib/plugins/dvr-controls/DvrControls.d.ts.map +1 -1
  120. package/lib/plugins/dvr-controls/DvrControls.js +30 -18
  121. package/lib/plugins/error-screen/ErrorScreen.d.ts +12 -1
  122. package/lib/plugins/error-screen/ErrorScreen.d.ts.map +1 -1
  123. package/lib/plugins/error-screen/ErrorScreen.js +1 -1
  124. package/lib/plugins/index.d.ts +0 -1
  125. package/lib/plugins/index.d.ts.map +1 -1
  126. package/lib/plugins/index.js +0 -1
  127. package/lib/plugins/kibo/index.d.ts +0 -3
  128. package/lib/plugins/kibo/index.d.ts.map +1 -1
  129. package/lib/plugins/kibo/index.js +0 -3
  130. package/lib/plugins/level-selector/LevelSelector.d.ts +8 -4
  131. package/lib/plugins/level-selector/LevelSelector.d.ts.map +1 -1
  132. package/lib/plugins/level-selector/LevelSelector.js +16 -7
  133. package/lib/plugins/media-control/MediaControl.d.ts +5 -4
  134. package/lib/plugins/media-control/MediaControl.d.ts.map +1 -1
  135. package/lib/plugins/media-control/MediaControl.js +8 -6
  136. package/lib/plugins/multi-camera/MultiCamera.d.ts +3 -11
  137. package/lib/plugins/multi-camera/MultiCamera.d.ts.map +1 -1
  138. package/lib/plugins/multi-camera/MultiCamera.js +1 -1
  139. package/lib/plugins/playback-rate/PlaybackRate.d.ts +11 -10
  140. package/lib/plugins/playback-rate/PlaybackRate.d.ts.map +1 -1
  141. package/lib/plugins/playback-rate/PlaybackRate.js +83 -91
  142. package/lib/plugins/poster/Poster.js +2 -2
  143. package/lib/plugins/share/Share.d.ts +2 -1
  144. package/lib/plugins/share/Share.d.ts.map +1 -1
  145. package/lib/plugins/share/Share.js +2 -1
  146. package/lib/plugins/skip-time/SkipTime.d.ts +2 -1
  147. package/lib/plugins/skip-time/SkipTime.d.ts.map +1 -1
  148. package/lib/plugins/skip-time/SkipTime.js +2 -1
  149. package/lib/plugins/source-controller/SourceController.js +3 -3
  150. package/lib/plugins/spinner-three-bounce/SpinnerThreeBounce.d.ts +6 -3
  151. package/lib/plugins/spinner-three-bounce/SpinnerThreeBounce.d.ts.map +1 -1
  152. package/lib/plugins/spinner-three-bounce/SpinnerThreeBounce.js +6 -3
  153. package/lib/plugins/telemetry/Telemetry.d.ts +2 -3
  154. package/lib/plugins/telemetry/Telemetry.d.ts.map +1 -1
  155. package/lib/plugins/telemetry/Telemetry.js +1 -1
  156. package/lib/plugins/vast-ads/VastAds.d.ts.map +1 -1
  157. package/lib/plugins/vast-ads/VastAds.js +3 -3
  158. package/lib/plugins/vast-ads/roll.d.ts +1 -1
  159. package/lib/plugins/vast-ads/roll.d.ts.map +1 -1
  160. package/lib/plugins/vast-ads/rollmanager.d.ts +1 -1
  161. package/lib/plugins/vast-ads/rollmanager.d.ts.map +1 -1
  162. package/lib/plugins/vast-ads/rollmanager.js +2 -2
  163. package/lib/types.d.ts +21 -5
  164. package/lib/types.d.ts.map +1 -1
  165. package/lib/utils/types.d.ts +0 -6
  166. package/lib/utils/types.d.ts.map +1 -1
  167. package/package.json +1 -1
  168. package/src/Player.ts +18 -16
  169. package/src/index.core.ts +0 -1
  170. package/src/index.plugins.ts +0 -1
  171. package/src/playback/BasePlayback.ts +12 -4
  172. package/src/playback/HTML5Video.ts +3 -0
  173. package/src/playback/dash-playback/DashPlayback.ts +15 -11
  174. package/src/playback/hls-playback/HlsPlayback.ts +7 -11
  175. package/src/playback/index.ts +2 -1
  176. package/src/playback/types.ts +9 -0
  177. package/src/plugins/audio-selector/AudioSelector.ts +1 -1
  178. package/src/plugins/big-mute-button/BigMuteButton.ts +1 -1
  179. package/src/plugins/bottom-gear/BottomGear.ts +7 -16
  180. package/src/plugins/clappr-nerd-stats/ClapprNerdStats.ts +5 -5
  181. package/src/plugins/clappr-nerd-stats/speedtest/Speedtest.ts +184 -187
  182. package/src/plugins/clappr-stats/ClapprStats.ts +5 -4
  183. package/src/plugins/clips/Clips.ts +4 -3
  184. package/src/plugins/context-menu/ContextMenu.ts +0 -2
  185. package/src/plugins/dvr-controls/DvrControls.ts +90 -56
  186. package/src/plugins/error-screen/ErrorScreen.ts +12 -1
  187. package/src/plugins/favicon/Favicon.ts +1 -1
  188. package/src/plugins/index.ts +0 -1
  189. package/src/plugins/kibo/index.ts +0 -3
  190. package/src/plugins/level-selector/LevelSelector.ts +24 -10
  191. package/src/plugins/logo/Logo.ts +1 -1
  192. package/src/plugins/media-control/MediaControl.ts +13 -10
  193. package/src/plugins/multi-camera/MultiCamera.ts +4 -4
  194. package/src/plugins/playback-rate/PlaybackRate.ts +90 -106
  195. package/src/plugins/poster/Poster.ts +3 -3
  196. package/src/plugins/seek-time/SeekTime.ts +1 -1
  197. package/src/plugins/share/Share.ts +2 -1
  198. package/src/plugins/skip-time/SkipTime.ts +2 -1
  199. package/src/plugins/source-controller/SourceController.ts +3 -3
  200. package/src/plugins/source-controller/__tests__/SourceController.test.ts +2 -2
  201. package/src/plugins/spinner-three-bounce/SpinnerThreeBounce.ts +6 -3
  202. package/src/plugins/subtitles/Subtitles.ts +1 -1
  203. package/src/plugins/telemetry/Telemetry.ts +2 -2
  204. package/src/plugins/thumbnails/Thumbnails.ts +1 -1
  205. package/src/plugins/vast-ads/VastAds.ts +5 -4
  206. package/src/plugins/vast-ads/roll.ts +2 -1
  207. package/src/plugins/vast-ads/rollmanager.ts +3 -3
  208. package/src/types.ts +24 -5
  209. package/src/utils/types.ts +0 -8
  210. package/temp/player.api.json +540 -576
  211. package/tsconfig.tsbuildinfo +1 -1
  212. package/assets/playback-rate/playback-rate-selector.ejs +0 -9
  213. package/docs/api/player.clapprstats.onbitrate.md +0 -52
  214. package/docs/api/player.errorscreen.attributes.md +0 -17
  215. package/docs/api/player.errorscreen.name.md +0 -14
  216. package/docs/api/player.errorscreen.template.md +0 -14
  217. package/docs/api/player.multicamera.getcameraslist.md +0 -18
  218. package/docs/api/player.multicamera.getcurrentcamera.md +0 -18
@@ -63,7 +63,7 @@ Description
63
63
 
64
64
  </td><td>
65
65
 
66
- **_(BETA)_** Displays useful network-related statistics.
66
+ **_(BETA)_** PLUGIN that displays useful network-related statistics.
67
67
 
68
68
 
69
69
  </td></tr>
@@ -74,7 +74,7 @@ Description
74
74
 
75
75
  </td><td>
76
76
 
77
- **_(BETA)_** Collects useful statistics about playback performance.
77
+ **_(BETA)_** PLIGIN that collects useful statistics about playback performance.
78
78
 
79
79
 
80
80
  </td></tr>
@@ -96,7 +96,7 @@ Description
96
96
 
97
97
  </td><td>
98
98
 
99
- **_(BETA)_** Adds a behavior of showing a text over the seekbar to indicate the current clip.
99
+ **_(BETA)_** PLUGIN that shows text over the seekbar to indicate the current clip.
100
100
 
101
101
 
102
102
  </td></tr>
@@ -129,7 +129,7 @@ Description
129
129
 
130
130
  </td><td>
131
131
 
132
- **_(BETA)_** Displays a descriptive error in the overlay on top of the player.
132
+ **_(BETA)_** PLUGIN that displays errors nicely in the overlay on top of the player.
133
133
 
134
134
 
135
135
  </td></tr>
@@ -162,7 +162,7 @@ Description
162
162
 
163
163
  </td><td>
164
164
 
165
- **_(BETA)_** A [media control](./player.mediacontrol.md) plugin that provides a UI to control the quality level of the playback.
165
+ **_(BETA)_** PLUGIN that provides a UI to select the desired quality level of the playback.
166
166
 
167
167
 
168
168
  </td></tr>
@@ -184,7 +184,7 @@ Description
184
184
 
185
185
  </td><td>
186
186
 
187
- **_(BETA)_** The MediaControl provides a foundation for developing custom media controls UI.
187
+ **_(BETA)_** PLUGIN that provides a foundation for developing custom media controls UI.
188
188
 
189
189
 
190
190
  </td></tr>
@@ -195,7 +195,7 @@ Description
195
195
 
196
196
  </td><td>
197
197
 
198
- **_(BETA)_** The plugin adds support for loading multiple streams and switching between them using the media control UI.
198
+ **_(BETA)_** PLUGIN that adds support for loading multiple streams and switching between them using the media control UI.
199
199
 
200
200
 
201
201
  </td></tr>
@@ -217,7 +217,7 @@ Description
217
217
 
218
218
  </td><td>
219
219
 
220
- **_(BETA)_** Allows changing the playback speed of the video.
220
+ **_(BETA)_** PLUGIN that allows changing the playback speed of the video.
221
221
 
222
222
 
223
223
  </td></tr>
@@ -261,7 +261,7 @@ Description
261
261
 
262
262
  </td><td>
263
263
 
264
- The plugin adds a share button to the media control UI.
264
+ **_(BETA)_** PLUGIN that adds a share button to the media control UI.
265
265
 
266
266
 
267
267
  </td></tr>
@@ -272,7 +272,7 @@ The plugin adds a share button to the media control UI.
272
272
 
273
273
  </td><td>
274
274
 
275
- The plugin adds skip controls to the media control UI.
275
+ **_(BETA)_** PLUGIN that adds skip controls to the media control UI.
276
276
 
277
277
 
278
278
  </td></tr>
@@ -294,7 +294,7 @@ The plugin adds skip controls to the media control UI.
294
294
 
295
295
  </td><td>
296
296
 
297
- **_(BETA)_** Shows a pending operation indicator when playback is buffering or in other appropriate cases
297
+ **_(BETA)_** PLUGIN that shows a pending operation indicator when playback is buffering or in a similar state
298
298
 
299
299
 
300
300
  </td></tr>
@@ -316,7 +316,7 @@ The plugin adds skip controls to the media control UI.
316
316
 
317
317
  </td><td>
318
318
 
319
- **_(BETA)_** Collects and reports the performance statistics.
319
+ **_(BETA)_** PLUGIN that collects and reports the performance statistics.
320
320
 
321
321
 
322
322
  </td></tr>
@@ -359,12 +359,12 @@ Description
359
359
  </th></tr></thead>
360
360
  <tbody><tr><td>
361
361
 
362
- [GearEvents](./player.gearevents.md)
362
+ [MediaControlEvents](./player.mediacontrolevents.md)
363
363
 
364
364
 
365
365
  </td><td>
366
366
 
367
- **_(BETA)_** Custom events emitted by the plugin
367
+ **_(BETA)_** Custom events emitted by the plugins to communicate with one another
368
368
 
369
369
 
370
370
  </td></tr>
@@ -397,7 +397,7 @@ Description
397
397
 
398
398
  </td><td>
399
399
 
400
- Custom events emitted by the plugin
400
+ **_(BETA)_** Custom events emitted by the plugin
401
401
 
402
402
 
403
403
  </td></tr>
@@ -471,7 +471,7 @@ Description
471
471
 
472
472
  </td><td>
473
473
 
474
- Configuration options
474
+ **_(BETA)_** Configuration options for the [clips](./player.clipsplugin.md) plugin.
475
475
 
476
476
 
477
477
  </td></tr>
@@ -496,6 +496,17 @@ Configuration options
496
496
  **_(BETA)_** Telemetry init event data
497
497
 
498
498
 
499
+ </td></tr>
500
+ <tr><td>
501
+
502
+ [LevelSelectorPluginSettings](./player.levelselectorpluginsettings.md)
503
+
504
+
505
+ </td><td>
506
+
507
+ **_(BETA)_** Configuration options for the [level selector](./player.levelselector.md) plugin.
508
+
509
+
499
510
  </td></tr>
500
511
  <tr><td>
501
512
 
@@ -613,6 +624,17 @@ Description
613
624
  </th></tr></thead>
614
625
  <tbody><tr><td>
615
626
 
627
+ [ContainerPluginConstructor](./player.containerpluginconstructor.md)
628
+
629
+
630
+ </td><td>
631
+
632
+ **_(BETA)_**
633
+
634
+
635
+ </td></tr>
636
+ <tr><td>
637
+
616
638
  [ContainerSize](./player.containersize.md)
617
639
 
618
640
 
@@ -621,6 +643,17 @@ Description
621
643
  **_(BETA)_** Dimensions of the player container DOM element.
622
644
 
623
645
 
646
+ </td></tr>
647
+ <tr><td>
648
+
649
+ [CorePluginConstructor](./player.corepluginconstructor.md)
650
+
651
+
652
+ </td><td>
653
+
654
+ **_(BETA)_**
655
+
656
+
624
657
  </td></tr>
625
658
  <tr><td>
626
659
 
@@ -634,6 +667,17 @@ Description
634
667
  [DASH.js settings](https://cdn.dashjs.org/latest/jsdoc/module-Settings.html)
635
668
 
636
669
 
670
+ </td></tr>
671
+ <tr><td>
672
+
673
+ [ErrorDesc](./player.errordesc.md)
674
+
675
+
676
+ </td><td>
677
+
678
+ **_(BETA)_** An error fired in the player and plugins code to be handled in the UI
679
+
680
+
637
681
  </td></tr>
638
682
  <tr><td>
639
683
 
@@ -645,6 +689,17 @@ Description
645
689
  **_(BETA)_** Levels of severity of errors. Non-fatal errors usually can be ignored.
646
690
 
647
691
 
692
+ </td></tr>
693
+ <tr><td>
694
+
695
+ [ErrorScreenPluginSettings](./player.errorscreenpluginsettings.md)
696
+
697
+
698
+ </td><td>
699
+
700
+ **_(BETA)_** Configuration options for the [error screen](./player.errorscreen.md) plugin.
701
+
702
+
648
703
  </td></tr>
649
704
  <tr><td>
650
705
 
@@ -788,6 +843,17 @@ Description
788
843
  **_(BETA)_**
789
844
 
790
845
 
846
+ </td></tr>
847
+ <tr><td>
848
+
849
+ [PlayerPluginConstructor](./player.playerpluginconstructor.md)
850
+
851
+
852
+ </td><td>
853
+
854
+ **_(BETA)_**
855
+
856
+
791
857
  </td></tr>
792
858
  <tr><td>
793
859
 
@@ -810,6 +876,17 @@ Description
810
876
  **_(BETA)_** Telemetry record
811
877
 
812
878
 
879
+ </td></tr>
880
+ <tr><td>
881
+
882
+ [TelemetrySendFn](./player.telemetrysendfn.md)
883
+
884
+
885
+ </td><td>
886
+
887
+ **_(BETA)_** Callback to send the telemetry record to the storage.
888
+
889
+
813
890
  </td></tr>
814
891
  <tr><td>
815
892
 
@@ -1,8 +1,8 @@
1
1
  <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
2
 
3
- [Home](./index.md) &gt; [@gcorevideo/player](./player.md) &gt; [ErrorScreen](./player.errorscreen.md) &gt; [container](./player.errorscreen.container.md)
3
+ [Home](./index.md) &gt; [@gcorevideo/player](./player.md) &gt; [MediaControl](./player.mediacontrol.md) &gt; [currentSeekPos](./player.mediacontrol.currentseekpos.md)
4
4
 
5
- ## ErrorScreen.container property
5
+ ## MediaControl.currentSeekPos property
6
6
 
7
7
  > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
8
  >
@@ -10,5 +10,5 @@
10
10
  **Signature:**
11
11
 
12
12
  ```typescript
13
- get container(): any;
13
+ get currentSeekPos(): number;
14
14
  ```
@@ -7,7 +7,7 @@
7
7
  > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
8
  >
9
9
 
10
- Disables the plugin and unmounts its UI
10
+ Hides the media control UI
11
11
 
12
12
  **Signature:**
13
13
 
@@ -7,7 +7,7 @@
7
7
  > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
8
  >
9
9
 
10
- The MediaControl provides a foundation for developing custom media controls UI.
10
+ PLUGIN that provides a foundation for developing custom media controls UI.
11
11
 
12
12
  **Signature:**
13
13
 
@@ -88,6 +88,27 @@ Description
88
88
  </th></tr></thead>
89
89
  <tbody><tr><td>
90
90
 
91
+ [currentSeekPos](./player.mediacontrol.currentseekpos.md)
92
+
93
+
94
+ </td><td>
95
+
96
+ `readonly`
97
+
98
+
99
+ </td><td>
100
+
101
+ number
102
+
103
+
104
+ </td><td>
105
+
106
+ **_(BETA)_**
107
+
108
+
109
+ </td></tr>
110
+ <tr><td>
111
+
91
112
  [muted](./player.mediacontrol.muted.md)
92
113
 
93
114
 
@@ -158,7 +179,7 @@ Description
158
179
 
159
180
  </td><td>
160
181
 
161
- **_(BETA)_** Disables the plugin and unmounts its UI
182
+ **_(BETA)_** Hides the media control UI
162
183
 
163
184
 
164
185
  </td></tr>
@@ -1,18 +1,18 @@
1
1
  <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
2
 
3
- [Home](./index.md) &gt; [@gcorevideo/player](./player.md) &gt; [GearEvents](./player.gearevents.md)
3
+ [Home](./index.md) &gt; [@gcorevideo/player](./player.md) &gt; [MediaControlEvents](./player.mediacontrolevents.md)
4
4
 
5
- ## GearEvents enum
5
+ ## MediaControlEvents enum
6
6
 
7
7
  > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
8
  >
9
9
 
10
- Custom events emitted by the plugin
10
+ Custom events emitted by the plugins to communicate with one another
11
11
 
12
12
  **Signature:**
13
13
 
14
14
  ```typescript
15
- export declare enum GearEvents
15
+ export declare enum MediaControlEvents
16
16
  ```
17
17
 
18
18
  ## Enumeration Members
@@ -7,7 +7,7 @@
7
7
  > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
8
  >
9
9
 
10
- The plugin adds support for loading multiple streams and switching between them using the media control UI.
10
+ PLUGIN that adds support for loading multiple streams and switching between them using the media control UI.
11
11
 
12
12
  **Signature:**
13
13
 
@@ -248,34 +248,6 @@ Description
248
248
  **_(BETA)_**
249
249
 
250
250
 
251
- </td></tr>
252
- <tr><td>
253
-
254
- [getCamerasList()](./player.multicamera.getcameraslist.md)
255
-
256
-
257
- </td><td>
258
-
259
-
260
- </td><td>
261
-
262
- **_(BETA)_**
263
-
264
-
265
- </td></tr>
266
- <tr><td>
267
-
268
- [getCurrentCamera()](./player.multicamera.getcurrentcamera.md)
269
-
270
-
271
- </td><td>
272
-
273
-
274
- </td><td>
275
-
276
- **_(BETA)_**
277
-
278
-
279
251
  </td></tr>
280
252
  <tr><td>
281
253
 
@@ -151,5 +151,24 @@ string
151
151
  **_(BETA)_** Component subsystem of the error origin
152
152
 
153
153
 
154
+ </td></tr>
155
+ <tr><td>
156
+
157
+ [UI?](./player.playbackerror.ui.md)
158
+
159
+
160
+ </td><td>
161
+
162
+
163
+ </td><td>
164
+
165
+ { title: string; message: string; }
166
+
167
+
168
+ </td><td>
169
+
170
+ **_(BETA)_** _(Optional)_ UI description of the error.
171
+
172
+
154
173
  </td></tr>
155
174
  </tbody></table>
@@ -1,16 +1,19 @@
1
1
  <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
2
 
3
- [Home](./index.md) &gt; [@gcorevideo/player](./player.md) &gt; [ErrorScreen](./player.errorscreen.md) &gt; [supportedVersion](./player.errorscreen.supportedversion.md)
3
+ [Home](./index.md) &gt; [@gcorevideo/player](./player.md) &gt; [PlaybackError](./player.playbackerror.md) &gt; [UI](./player.playbackerror.ui.md)
4
4
 
5
- ## ErrorScreen.supportedVersion property
5
+ ## PlaybackError.UI property
6
6
 
7
7
  > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
8
  >
9
9
 
10
+ UI description of the error.
11
+
10
12
  **Signature:**
11
13
 
12
14
  ```typescript
13
- get supportedVersion(): {
14
- min: string;
15
+ UI?: {
16
+ title: string;
17
+ message: string;
15
18
  };
16
19
  ```
@@ -40,7 +40,7 @@ Generic
40
40
 
41
41
  </td><td>
42
42
 
43
- `0`
43
+ `"GENERIC_ERROR"`
44
44
 
45
45
 
46
46
  </td><td>
@@ -56,7 +56,7 @@ MediaSourceAccessDenied
56
56
 
57
57
  </td><td>
58
58
 
59
- `3`
59
+ `"MEDIA_SOURCE_ACCESS_DENIED"`
60
60
 
61
61
 
62
62
  </td><td>
@@ -72,7 +72,7 @@ MediaSourceUnavailable
72
72
 
73
73
  </td><td>
74
74
 
75
- `1`
75
+ `"MEDIA_SOURCE_UNAVAILABLE"`
76
76
 
77
77
 
78
78
  </td><td>
@@ -1,16 +1,18 @@
1
1
  <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
2
 
3
- [Home](./index.md) &gt; [@gcorevideo/player](./player.md) &gt; [ErrorScreen](./player.errorscreen.md) &gt; [show](./player.errorscreen.show.md)
3
+ [Home](./index.md) &gt; [@gcorevideo/player](./player.md) &gt; [PlaybackRate](./player.playbackrate.md) &gt; [(constructor)](./player.playbackrate._constructor_.md)
4
4
 
5
- ## ErrorScreen.show() method
5
+ ## PlaybackRate.(constructor)
6
6
 
7
7
  > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
8
  >
9
9
 
10
+ Constructs a new instance of the `PlaybackRate` class
11
+
10
12
  **Signature:**
11
13
 
12
14
  ```typescript
13
- show(err?: PresentationalError): void;
15
+ constructor(core: Core);
14
16
  ```
15
17
 
16
18
  ## Parameters
@@ -33,22 +35,16 @@ Description
33
35
  </th></tr></thead>
34
36
  <tbody><tr><td>
35
37
 
36
- err
38
+ core
37
39
 
38
40
 
39
41
  </td><td>
40
42
 
41
- PresentationalError
43
+ Core
42
44
 
43
45
 
44
46
  </td><td>
45
47
 
46
- _(Optional)_
47
-
48
48
 
49
49
  </td></tr>
50
50
  </tbody></table>
51
- **Returns:**
52
-
53
- void
54
-
@@ -7,7 +7,7 @@
7
7
  > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
8
  >
9
9
 
10
- Allows changing the playback speed of the video.
10
+ PLUGIN that allows changing the playback speed of the video.
11
11
 
12
12
  **Signature:**
13
13
 
@@ -24,5 +24,38 @@ Depends on:
24
24
 
25
25
  - [bottom\_gear](./player.bottomgear.md)
26
26
 
27
- It renders a button in the gear menu, which opens a dropdown with the available playback rates.
27
+ It renders a button in the gear menu, which opens a dropdown with the options to change the playback rate.
28
28
 
29
+ ## Constructors
30
+
31
+ <table><thead><tr><th>
32
+
33
+ Constructor
34
+
35
+
36
+ </th><th>
37
+
38
+ Modifiers
39
+
40
+
41
+ </th><th>
42
+
43
+ Description
44
+
45
+
46
+ </th></tr></thead>
47
+ <tbody><tr><td>
48
+
49
+ [(constructor)(core)](./player.playbackrate._constructor_.md)
50
+
51
+
52
+ </td><td>
53
+
54
+
55
+ </td><td>
56
+
57
+ **_(BETA)_** Constructs a new instance of the `PlaybackRate` class
58
+
59
+
60
+ </td></tr>
61
+ </tbody></table>
@@ -12,7 +12,7 @@ Registers a plugin.
12
12
  **Signature:**
13
13
 
14
14
  ```typescript
15
- static registerPlugin(plugin: PlayerPlugin): void;
15
+ static registerPlugin(plugin: PlayerPluginConstructor): void;
16
16
  ```
17
17
 
18
18
  ## Parameters
@@ -40,7 +40,7 @@ plugin
40
40
 
41
41
  </td><td>
42
42
 
43
- [PlayerPlugin](./player.playerplugin.md)
43
+ [PlayerPluginConstructor](./player.playerpluginconstructor.md)
44
44
 
45
45
 
46
46
  </td><td>
@@ -12,7 +12,7 @@ Unregisters a plugin registered earlier with [Player.registerPlugin()](./player.
12
12
  **Signature:**
13
13
 
14
14
  ```typescript
15
- static unregisterPlugin(plugin: PlayerPlugin): void;
15
+ static unregisterPlugin(plugin: PlayerPluginConstructor): void;
16
16
  ```
17
17
 
18
18
  ## Parameters
@@ -40,7 +40,7 @@ plugin
40
40
 
41
41
  </td><td>
42
42
 
43
- [PlayerPlugin](./player.playerplugin.md)
43
+ [PlayerPluginConstructor](./player.playerpluginconstructor.md)
44
44
 
45
45
 
46
46
  </td><td>
@@ -0,0 +1,17 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@gcorevideo/player](./player.md) &gt; [PlayerPluginConstructor](./player.playerpluginconstructor.md)
4
+
5
+ ## PlayerPluginConstructor type
6
+
7
+ > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
10
+
11
+ **Signature:**
12
+
13
+ ```typescript
14
+ export type PlayerPluginConstructor = CorePluginConstructor | ContainerPluginConstructor;
15
+ ```
16
+ **References:** [CorePluginConstructor](./player.corepluginconstructor.md)<!-- -->, [ContainerPluginConstructor](./player.containerpluginconstructor.md)
17
+
@@ -4,6 +4,9 @@
4
4
 
5
5
  ## Share.attributes property
6
6
 
7
+ > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
7
10
  **Signature:**
8
11
 
9
12
  ```typescript
@@ -4,6 +4,9 @@
4
4
 
5
5
  ## Share.bindEvents() method
6
6
 
7
+ > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
7
10
  **Signature:**
8
11
 
9
12
  ```typescript
@@ -4,6 +4,9 @@
4
4
 
5
5
  ## Share.canShowShare() method
6
6
 
7
+ > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
7
10
  **Signature:**
8
11
 
9
12
  ```typescript
@@ -4,6 +4,9 @@
4
4
 
5
5
  ## Share.events property
6
6
 
7
+ > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
7
10
  **Signature:**
8
11
 
9
12
  ```typescript
@@ -4,6 +4,9 @@
4
4
 
5
5
  ## Share.hideShare() method
6
6
 
7
+ > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
7
10
  **Signature:**
8
11
 
9
12
  ```typescript