@gcorevideo/player 2.20.8 → 2.20.11

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 (329) hide show
  1. package/assets/dvr-controls/dvr_controls.scss +0 -2
  2. package/dist/core.js +22 -17
  3. package/dist/index.css +1343 -1346
  4. package/dist/index.js +119 -109
  5. package/dist/player.d.ts +238 -179
  6. package/dist/plugins/index.css +461 -464
  7. package/dist/plugins/index.js +97 -93
  8. package/docs/api/player.audioselector.md +1 -1
  9. package/docs/api/player.bigmutebutton.md +1 -1
  10. package/docs/api/player.bottomgear.md +15 -1
  11. package/docs/api/player.bottomgear.refresh.md +20 -0
  12. package/docs/api/player.clapprnerdstats.md +1 -1
  13. package/docs/api/player.clapprstats.exportmetrics.md +1 -1
  14. package/docs/api/player.clapprstats.md +1 -15
  15. package/docs/api/player.clapprstats.setupdatemetrics.md +2 -0
  16. package/docs/api/player.clicktopause.md +1 -1
  17. package/docs/api/player.clipsplugin.md +1 -1
  18. package/docs/api/player.clipspluginsettings.md +5 -2
  19. package/docs/api/player.clipspluginsettings.text.md +3 -0
  20. package/docs/api/player.containerpluginconstructor.md +17 -0
  21. package/docs/api/player.containersize.md +0 -3
  22. package/docs/api/player.contextmenu.md +1 -1
  23. package/docs/api/player.corepluginconstructor.md +17 -0
  24. package/docs/api/player.dashsettings.md +0 -3
  25. package/docs/api/player.dvrcontrols.md +2 -35
  26. package/docs/api/player.errorlevel.md +0 -3
  27. package/docs/api/player.errorscreen.md +1 -220
  28. package/docs/api/{player.errorscreen.render.md → player.errorscreenpluginsettings.md} +7 -7
  29. package/docs/api/player.favicon.md +1 -1
  30. package/docs/api/player.googleanalytics.md +1 -1
  31. package/docs/api/player.langtag.md +0 -3
  32. package/docs/api/player.levelselector.md +3 -9
  33. package/docs/api/{player.errorscreen.bindevents.md → player.levelselectorpluginsettings.labels.md} +11 -5
  34. package/docs/api/player.levelselectorpluginsettings.md +79 -0
  35. package/docs/api/{player.errorscreen.unbindevents.md → player.levelselectorpluginsettings.restrictresolution.md} +5 -7
  36. package/docs/api/player.logo.md +1 -1
  37. package/docs/api/player.md +131 -65
  38. package/docs/api/{player.errorscreen.container.md → player.mediacontrol.currentseekpos.md} +3 -3
  39. package/docs/api/player.mediacontrol.disable.md +1 -1
  40. package/docs/api/player.mediacontrol.md +24 -3
  41. package/docs/api/{player.gearevents.md → player.mediacontrolevents.md} +4 -4
  42. package/docs/api/player.multicamera.md +1 -29
  43. package/docs/api/player.pictureinpicture.md +1 -1
  44. package/docs/api/player.playbackerror.code.md +0 -3
  45. package/docs/api/player.playbackerror.description.md +0 -3
  46. package/docs/api/player.playbackerror.level.md +0 -3
  47. package/docs/api/player.playbackerror.md +25 -9
  48. package/docs/api/player.playbackerror.message.md +0 -3
  49. package/docs/api/player.playbackerror.origin.md +0 -3
  50. package/docs/api/player.playbackerror.scope.md +0 -3
  51. package/docs/api/player.playbackerror.ui.md +17 -0
  52. package/docs/api/player.playbackerrorcode.md +6 -9
  53. package/docs/api/player.playbackmodule.md +0 -3
  54. package/docs/api/{player.dvrcontrols._constructor_.md → player.playbackrate._constructor_.md} +3 -3
  55. package/docs/api/player.playbackrate.md +35 -2
  56. package/docs/api/player.playbacktype.md +1 -4
  57. package/docs/api/player.player._constructor_.md +0 -3
  58. package/docs/api/player.player.attachto.md +0 -3
  59. package/docs/api/player.player.configure.md +0 -3
  60. package/docs/api/player.player.destroy.md +0 -3
  61. package/docs/api/player.player.getcurrenttime.md +0 -3
  62. package/docs/api/player.player.getduration.md +0 -3
  63. package/docs/api/player.player.getvolume.md +0 -3
  64. package/docs/api/player.player.isdvrenabled.md +0 -3
  65. package/docs/api/player.player.isdvrinuse.md +0 -3
  66. package/docs/api/player.player.ismuted.md +0 -3
  67. package/docs/api/player.player.isplaying.md +0 -3
  68. package/docs/api/player.player.md +25 -28
  69. package/docs/api/player.player.mute.md +0 -3
  70. package/docs/api/player.player.off.md +0 -3
  71. package/docs/api/player.player.on.md +0 -3
  72. package/docs/api/player.player.pause.md +0 -3
  73. package/docs/api/player.player.play.md +0 -3
  74. package/docs/api/player.player.registerplugin.md +2 -5
  75. package/docs/api/player.player.resize.md +0 -3
  76. package/docs/api/player.player.seek.md +0 -3
  77. package/docs/api/player.player.setvolume.md +0 -3
  78. package/docs/api/player.player.stop.md +0 -3
  79. package/docs/api/player.player.unmute.md +0 -3
  80. package/docs/api/player.player.unregisterplugin.md +14 -7
  81. package/docs/api/player.playercomponenttype.md +0 -3
  82. package/docs/api/player.playerconfig.autoplay.md +0 -3
  83. package/docs/api/player.playerconfig.dash.md +0 -3
  84. package/docs/api/player.playerconfig.debug.md +0 -3
  85. package/docs/api/player.playerconfig.language.md +0 -3
  86. package/docs/api/player.playerconfig.loop.md +0 -3
  87. package/docs/api/player.playerconfig.md +10 -13
  88. package/docs/api/player.playerconfig.mute.md +0 -3
  89. package/docs/api/player.playerconfig.playbacktype.md +0 -3
  90. package/docs/api/player.playerconfig.prioritytransport.md +0 -3
  91. package/docs/api/player.playerconfig.sources.md +0 -3
  92. package/docs/api/player.playerconfig.strings.md +0 -3
  93. package/docs/api/player.playerdebugsettings.md +0 -3
  94. package/docs/api/player.playerdebugtag.md +0 -3
  95. package/docs/api/player.playerevent.md +11 -14
  96. package/docs/api/player.playereventhandler.md +0 -3
  97. package/docs/api/player.playereventparams.md +0 -3
  98. package/docs/api/player.playermediasource.md +0 -3
  99. package/docs/api/player.playermediasourcedesc.md +2 -5
  100. package/docs/api/player.playermediasourcedesc.mimetype.md +0 -3
  101. package/docs/api/player.playermediasourcedesc.source.md +0 -3
  102. package/docs/api/player.playerplugin.md +0 -4
  103. package/docs/api/player.playerpluginconstructor.md +14 -0
  104. package/docs/api/player.poster.md +1 -1
  105. package/docs/api/player.qualitylevel.bitrate.md +0 -3
  106. package/docs/api/player.qualitylevel.height.md +0 -3
  107. package/docs/api/player.qualitylevel.level.md +0 -3
  108. package/docs/api/player.qualitylevel.md +4 -7
  109. package/docs/api/player.qualitylevel.width.md +0 -3
  110. package/docs/api/player.seektime.md +1 -1
  111. package/docs/api/player.share.attributes.md +3 -0
  112. package/docs/api/player.share.bindevents.md +3 -0
  113. package/docs/api/player.share.canshowshare.md +3 -0
  114. package/docs/api/player.share.events.md +3 -0
  115. package/docs/api/player.share.hideshare.md +3 -0
  116. package/docs/api/player.share.initializeicons.md +3 -0
  117. package/docs/api/player.share.md +40 -1
  118. package/docs/api/player.share.name.md +3 -0
  119. package/docs/api/player.share.onshareembedclick.md +3 -0
  120. package/docs/api/player.share.onsharefb.md +3 -0
  121. package/docs/api/player.share.onsharehide.md +3 -0
  122. package/docs/api/player.share.onsharelinkclick.md +3 -0
  123. package/docs/api/player.share.onshareshow.md +3 -0
  124. package/docs/api/player.share.onsharetw.md +3 -0
  125. package/docs/api/player.share.render.md +3 -0
  126. package/docs/api/player.share.showshare.md +3 -0
  127. package/docs/api/player.share.supportedversion.md +3 -0
  128. package/docs/api/player.share.template.md +3 -0
  129. package/docs/api/player.share.unbindevents.md +3 -0
  130. package/docs/api/player.skiptime.attributes.md +3 -0
  131. package/docs/api/player.skiptime.bindevents.md +3 -0
  132. package/docs/api/player.skiptime.container.md +3 -0
  133. package/docs/api/player.skiptime.events.md +3 -0
  134. package/docs/api/player.skiptime.handlerewindclicks.md +3 -0
  135. package/docs/api/player.skiptime.md +30 -1
  136. package/docs/api/player.skiptime.name.md +3 -0
  137. package/docs/api/player.skiptime.render.md +3 -0
  138. package/docs/api/player.skiptime.setback.md +3 -0
  139. package/docs/api/player.skiptime.setforward.md +3 -0
  140. package/docs/api/player.skiptime.setmidclick.md +3 -0
  141. package/docs/api/player.skiptime.supportedversion.md +3 -0
  142. package/docs/api/player.skiptime.template.md +3 -0
  143. package/docs/api/player.skiptime.togglefullscreen.md +3 -0
  144. package/docs/api/player.sourcecontroller.md +1 -1
  145. package/docs/api/player.spinnerevents.md +4 -1
  146. package/docs/api/player.spinnerthreebounce.hide.md +1 -1
  147. package/docs/api/player.spinnerthreebounce.md +7 -5
  148. package/docs/api/player.spinnerthreebounce.show.md +40 -2
  149. package/docs/api/player.subtitles.md +1 -1
  150. package/docs/api/player.telemetry.md +1 -1
  151. package/docs/api/player.telemetrypluginsettings.md +1 -1
  152. package/docs/api/{player.errorscreen.hide.md → player.telemetrysendfn.md} +6 -6
  153. package/docs/api/player.thumbnails.md +1 -1
  154. package/docs/api/player.timeposition.current.md +0 -3
  155. package/docs/api/player.timeposition.md +2 -5
  156. package/docs/api/player.timeposition.total.md +0 -3
  157. package/docs/api/player.timevalue.md +0 -3
  158. package/docs/api/player.translationkey.md +0 -3
  159. package/docs/api/player.translationsettings.md +0 -3
  160. package/docs/api/player.transportpreference.md +2 -7
  161. package/docs/api/player.volumefade.md +1 -1
  162. package/lib/Player.d.ts +18 -9
  163. package/lib/Player.d.ts.map +1 -1
  164. package/lib/Player.js +19 -14
  165. package/lib/index.core.d.ts +0 -1
  166. package/lib/index.core.d.ts.map +1 -1
  167. package/lib/index.core.js +0 -1
  168. package/lib/index.d.ts +18 -1
  169. package/lib/index.d.ts.map +1 -1
  170. package/lib/index.js +18 -1
  171. package/lib/index.plugins.d.ts +0 -1
  172. package/lib/index.plugins.d.ts.map +1 -1
  173. package/lib/index.plugins.js +0 -1
  174. package/lib/playback/hls-playback/HlsPlayback.d.ts.map +1 -1
  175. package/lib/playback/hls-playback/HlsPlayback.js +1 -1
  176. package/lib/playback.types.d.ts +8 -7
  177. package/lib/playback.types.d.ts.map +1 -1
  178. package/lib/playback.types.js +1 -1
  179. package/lib/plugins/audio-selector/AudioSelector.d.ts +1 -1
  180. package/lib/plugins/audio-selector/AudioSelector.js +1 -1
  181. package/lib/plugins/big-mute-button/BigMuteButton.d.ts +1 -1
  182. package/lib/plugins/big-mute-button/BigMuteButton.d.ts.map +1 -1
  183. package/lib/plugins/big-mute-button/BigMuteButton.js +1 -2
  184. package/lib/plugins/bottom-gear/BottomGear.d.ts +2 -2
  185. package/lib/plugins/bottom-gear/BottomGear.d.ts.map +1 -1
  186. package/lib/plugins/bottom-gear/BottomGear.js +1 -1
  187. package/lib/plugins/clappr-nerd-stats/ClapprNerdStats.d.ts +1 -1
  188. package/lib/plugins/clappr-nerd-stats/ClapprNerdStats.js +1 -1
  189. package/lib/plugins/clappr-nerd-stats/speedtest/Speedtest.d.ts.map +1 -1
  190. package/lib/plugins/clappr-nerd-stats/speedtest/Speedtest.js +8 -8
  191. package/lib/plugins/clappr-stats/ClapprStats.d.ts +4 -5
  192. package/lib/plugins/clappr-stats/ClapprStats.d.ts.map +1 -1
  193. package/lib/plugins/clappr-stats/ClapprStats.js +4 -3
  194. package/lib/plugins/click-to-pause/ClickToPause.d.ts +1 -1
  195. package/lib/plugins/click-to-pause/ClickToPause.js +1 -1
  196. package/lib/plugins/clips/Clips.d.ts +3 -2
  197. package/lib/plugins/clips/Clips.d.ts.map +1 -1
  198. package/lib/plugins/clips/Clips.js +1 -1
  199. package/lib/plugins/context-menu/ContextMenu.d.ts +1 -1
  200. package/lib/plugins/context-menu/ContextMenu.d.ts.map +1 -1
  201. package/lib/plugins/context-menu/ContextMenu.js +1 -1
  202. package/lib/plugins/dvr-controls/DvrControls.d.ts +7 -4
  203. package/lib/plugins/dvr-controls/DvrControls.d.ts.map +1 -1
  204. package/lib/plugins/dvr-controls/DvrControls.js +29 -36
  205. package/lib/plugins/error-screen/ErrorScreen.d.ts +8 -14
  206. package/lib/plugins/error-screen/ErrorScreen.d.ts.map +1 -1
  207. package/lib/plugins/error-screen/ErrorScreen.js +1 -1
  208. package/lib/plugins/favicon/Favicon.d.ts +1 -1
  209. package/lib/plugins/favicon/Favicon.js +1 -1
  210. package/lib/plugins/google-analytics/GoogleAnalytics.d.ts +1 -1
  211. package/lib/plugins/google-analytics/GoogleAnalytics.js +1 -1
  212. package/lib/plugins/index.d.ts +0 -1
  213. package/lib/plugins/index.d.ts.map +1 -1
  214. package/lib/plugins/index.js +0 -1
  215. package/lib/plugins/kibo/index.d.ts +0 -3
  216. package/lib/plugins/kibo/index.d.ts.map +1 -1
  217. package/lib/plugins/kibo/index.js +0 -3
  218. package/lib/plugins/level-selector/LevelSelector.d.ts +6 -4
  219. package/lib/plugins/level-selector/LevelSelector.d.ts.map +1 -1
  220. package/lib/plugins/level-selector/LevelSelector.js +2 -4
  221. package/lib/plugins/logo/Logo.d.ts +1 -1
  222. package/lib/plugins/logo/Logo.js +1 -1
  223. package/lib/plugins/media-control/MediaControl.d.ts +11 -5
  224. package/lib/plugins/media-control/MediaControl.d.ts.map +1 -1
  225. package/lib/plugins/media-control/MediaControl.js +17 -5
  226. package/lib/plugins/multi-camera/MultiCamera.d.ts +3 -11
  227. package/lib/plugins/multi-camera/MultiCamera.d.ts.map +1 -1
  228. package/lib/plugins/multi-camera/MultiCamera.js +1 -1
  229. package/lib/plugins/picture-in-picture/PictureInPicture.d.ts +1 -1
  230. package/lib/plugins/picture-in-picture/PictureInPicture.js +1 -1
  231. package/lib/plugins/playback-rate/PlaybackRate.d.ts +1 -1
  232. package/lib/plugins/playback-rate/PlaybackRate.js +1 -1
  233. package/lib/plugins/poster/Poster.d.ts +1 -1
  234. package/lib/plugins/poster/Poster.js +3 -3
  235. package/lib/plugins/seek-time/SeekTime.d.ts +1 -1
  236. package/lib/plugins/seek-time/SeekTime.js +1 -1
  237. package/lib/plugins/share/Share.d.ts +2 -1
  238. package/lib/plugins/share/Share.d.ts.map +1 -1
  239. package/lib/plugins/share/Share.js +2 -1
  240. package/lib/plugins/skip-time/SkipTime.d.ts +2 -1
  241. package/lib/plugins/skip-time/SkipTime.d.ts.map +1 -1
  242. package/lib/plugins/skip-time/SkipTime.js +2 -1
  243. package/lib/plugins/source-controller/SourceController.d.ts +1 -1
  244. package/lib/plugins/source-controller/SourceController.js +4 -4
  245. package/lib/plugins/spinner-three-bounce/SpinnerThreeBounce.d.ts +6 -3
  246. package/lib/plugins/spinner-three-bounce/SpinnerThreeBounce.d.ts.map +1 -1
  247. package/lib/plugins/spinner-three-bounce/SpinnerThreeBounce.js +6 -3
  248. package/lib/plugins/subtitles/Subtitles.d.ts +1 -1
  249. package/lib/plugins/subtitles/Subtitles.js +1 -1
  250. package/lib/plugins/telemetry/Telemetry.d.ts +2 -3
  251. package/lib/plugins/telemetry/Telemetry.d.ts.map +1 -1
  252. package/lib/plugins/telemetry/Telemetry.js +1 -1
  253. package/lib/plugins/thumbnails/Thumbnails.d.ts +1 -1
  254. package/lib/plugins/thumbnails/Thumbnails.js +1 -1
  255. package/lib/plugins/vast-ads/VastAds.d.ts.map +1 -1
  256. package/lib/plugins/vast-ads/VastAds.js +3 -3
  257. package/lib/plugins/vast-ads/roll.d.ts +1 -1
  258. package/lib/plugins/vast-ads/roll.d.ts.map +1 -1
  259. package/lib/plugins/vast-ads/rollmanager.d.ts +1 -1
  260. package/lib/plugins/vast-ads/rollmanager.d.ts.map +1 -1
  261. package/lib/plugins/vast-ads/rollmanager.js +2 -2
  262. package/lib/plugins/volume-fade/VolumeFade.d.ts +1 -1
  263. package/lib/plugins/volume-fade/VolumeFade.js +1 -1
  264. package/lib/testUtils.d.ts +11 -2
  265. package/lib/testUtils.d.ts.map +1 -1
  266. package/lib/testUtils.js +22 -3
  267. package/lib/types.d.ts +38 -27
  268. package/lib/types.d.ts.map +1 -1
  269. package/lib/types.js +1 -1
  270. package/lib/utils/types.d.ts +0 -6
  271. package/lib/utils/types.d.ts.map +1 -1
  272. package/package.json +1 -1
  273. package/src/Player.ts +23 -21
  274. package/src/index.core.ts +0 -1
  275. package/src/index.plugins.ts +0 -1
  276. package/src/index.ts +18 -1
  277. package/src/playback/hls-playback/HlsPlayback.ts +7 -11
  278. package/src/playback.types.ts +8 -7
  279. package/src/plugins/audio-selector/AudioSelector.ts +2 -2
  280. package/src/plugins/big-mute-button/BigMuteButton.ts +2 -3
  281. package/src/plugins/bottom-gear/BottomGear.ts +2 -2
  282. package/src/plugins/clappr-nerd-stats/ClapprNerdStats.ts +2 -2
  283. package/src/plugins/clappr-nerd-stats/speedtest/Speedtest.ts +184 -187
  284. package/src/plugins/clappr-stats/ClapprStats.ts +5 -4
  285. package/src/plugins/click-to-pause/ClickToPause.ts +1 -1
  286. package/src/plugins/clips/Clips.ts +4 -3
  287. package/src/plugins/context-menu/ContextMenu.ts +1 -3
  288. package/src/plugins/dvr-controls/DvrControls.ts +34 -45
  289. package/src/plugins/dvr-controls/__tests__/DvrControls.test.ts +91 -0
  290. package/src/plugins/dvr-controls/__tests__/__snapshots__/DvrControls.test.ts.snap +43 -0
  291. package/src/plugins/error-screen/ErrorScreen.ts +10 -17
  292. package/src/plugins/favicon/Favicon.ts +2 -2
  293. package/src/plugins/google-analytics/GoogleAnalytics.ts +1 -1
  294. package/src/plugins/index.ts +0 -1
  295. package/src/plugins/kibo/index.ts +0 -3
  296. package/src/plugins/level-selector/LevelSelector.ts +7 -5
  297. package/src/plugins/logo/Logo.ts +2 -2
  298. package/src/plugins/media-control/MediaControl.ts +20 -6
  299. package/src/plugins/multi-camera/MultiCamera.ts +4 -4
  300. package/src/plugins/picture-in-picture/PictureInPicture.ts +1 -1
  301. package/src/plugins/playback-rate/PlaybackRate.ts +2 -2
  302. package/src/plugins/poster/Poster.ts +4 -4
  303. package/src/plugins/seek-time/SeekTime.ts +2 -2
  304. package/src/plugins/share/Share.ts +2 -1
  305. package/src/plugins/skip-time/SkipTime.ts +2 -1
  306. package/src/plugins/source-controller/SourceController.ts +4 -4
  307. package/src/plugins/source-controller/__tests__/SourceController.test.ts +2 -2
  308. package/src/plugins/spinner-three-bounce/SpinnerThreeBounce.ts +6 -3
  309. package/src/plugins/subtitles/Subtitles.ts +2 -2
  310. package/src/plugins/telemetry/Telemetry.ts +2 -2
  311. package/src/plugins/thumbnails/Thumbnails.ts +2 -2
  312. package/src/plugins/vast-ads/VastAds.ts +5 -4
  313. package/src/plugins/vast-ads/roll.ts +2 -1
  314. package/src/plugins/vast-ads/rollmanager.ts +3 -3
  315. package/src/plugins/volume-fade/VolumeFade.ts +1 -1
  316. package/src/testUtils.ts +28 -4
  317. package/src/types.ts +41 -28
  318. package/src/utils/types.ts +0 -8
  319. package/temp/player.api.json +680 -786
  320. package/tsconfig.tsbuildinfo +1 -1
  321. package/docs/api/player.clapprstats.onbitrate.md +0 -52
  322. package/docs/api/player.errorscreen.attributes.md +0 -17
  323. package/docs/api/player.errorscreen.name.md +0 -14
  324. package/docs/api/player.errorscreen.show.md +0 -54
  325. package/docs/api/player.errorscreen.supportedversion.md +0 -16
  326. package/docs/api/player.errorscreen.template.md +0 -14
  327. package/docs/api/player.mediatransport.md +0 -16
  328. package/docs/api/player.multicamera.getcameraslist.md +0 -18
  329. package/docs/api/player.multicamera.getcurrentcamera.md +0 -18
@@ -0,0 +1,20 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@gcorevideo/player](./player.md) &gt; [BottomGear](./player.bottomgear.md) &gt; [refresh](./player.bottomgear.refresh.md)
4
+
5
+ ## BottomGear.refresh() method
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
+ Re-renders the gear menu. It fires the [MEDIACONTROL\_GEAR\_RENDERED](./player.mediacontrolevents.md) event, which the plugins that attach to the gear menu can listen to to re-render themselves.
11
+
12
+ **Signature:**
13
+
14
+ ```typescript
15
+ refresh(): void;
16
+ ```
17
+ **Returns:**
18
+
19
+ void
20
+
@@ -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
- Displays useful network-related statistics.
10
+ `PLUGIN` that displays useful network-related statistics.
11
11
 
12
12
  **Signature:**
13
13
 
@@ -18,5 +18,5 @@ exportMetrics(): Metrics;
18
18
 
19
19
  Metrics
20
20
 
21
- The collected metrics
21
+ Currently collected metrics
22
22
 
@@ -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
- Collects useful statistics about playback performance.
10
+ `PLUGIN` that collects useful statistics about playback performance.
11
11
 
12
12
  **Signature:**
13
13
 
@@ -85,20 +85,6 @@ Description
85
85
  **_(BETA)_** Returns the collected metrics.
86
86
 
87
87
 
88
- </td></tr>
89
- <tr><td>
90
-
91
- [onBitrate(newBitrate)](./player.clapprstats.onbitrate.md)
92
-
93
-
94
- </td><td>
95
-
96
-
97
- </td><td>
98
-
99
- **_(BETA)_**
100
-
101
-
102
88
  </td></tr>
103
89
  <tr><td>
104
90
 
@@ -45,6 +45,8 @@ MetricsUpdateFn
45
45
 
46
46
  </td><td>
47
47
 
48
+ The callback to receive the metrics
49
+
48
50
 
49
51
  </td></tr>
50
52
  </tbody></table>
@@ -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
- Adds a behavior of toggling the playback state on click over the container
10
+ `PLUGIN` that adds a behavior of toggling the playback state on click over the container
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
- Adds a behavior of showing a text over the seekbar to indicate the current clip.
10
+ `PLUGIN` that shows text over the seekbar to indicate the current clip.
11
11
 
12
12
  **Signature:**
13
13
 
@@ -4,7 +4,10 @@
4
4
 
5
5
  ## ClipsPluginSettings interface
6
6
 
7
- Configuration options
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
+ Configuration options for the [clips](./player.clipsplugin.md) plugin.
8
11
 
9
12
  **Signature:**
10
13
 
@@ -50,7 +53,7 @@ string
50
53
 
51
54
  </td><td>
52
55
 
53
- The text to display over the seekbar.
56
+ **_(BETA)_** The text to display over the seekbar.
54
57
 
55
58
 
56
59
  </td></tr>
@@ -4,6 +4,9 @@
4
4
 
5
5
  ## ClipsPluginSettings.text 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
  The text to display over the seekbar.
8
11
 
9
12
  **Signature:**
@@ -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; [ContainerPluginConstructor](./player.containerpluginconstructor.md)
4
+
5
+ ## ContainerPluginConstructor type
6
+
7
+
8
+ **Signature:**
9
+
10
+ ```typescript
11
+ export type ContainerPluginConstructor = {
12
+ new (container: Container): PlayerPlugin;
13
+ type: string;
14
+ };
15
+ ```
16
+ **References:** [PlayerPlugin](./player.playerplugin.md)
17
+
@@ -4,9 +4,6 @@
4
4
 
5
5
  ## ContainerSize type
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
-
10
7
  Dimensions of the player container DOM element.
11
8
 
12
9
  **Signature:**
@@ -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
- Displays a small context menu when clicked on the player container.
10
+ `PLUGIN` that displays a small context menu when clicked on the player container.
11
11
 
12
12
  **Signature:**
13
13
 
@@ -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; [CorePluginConstructor](./player.corepluginconstructor.md)
4
+
5
+ ## CorePluginConstructor type
6
+
7
+
8
+ **Signature:**
9
+
10
+ ```typescript
11
+ export type CorePluginConstructor = {
12
+ new (core: Core): PlayerPlugin;
13
+ type: string;
14
+ };
15
+ ```
16
+ **References:** [PlayerPlugin](./player.playerplugin.md)
17
+
@@ -4,9 +4,6 @@
4
4
 
5
5
  ## DashSettings type
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
-
10
7
  A plain JS object that must conform to the DASH.js settings schema.
11
8
 
12
9
  [DASH.js settings](https://cdn.dashjs.org/latest/jsdoc/module-Settings.html)
@@ -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
- Adds the DVR controls to the media control UI
10
+ `PLUGIN` that adds the DVR controls to the media control UI
11
11
 
12
12
  **Signature:**
13
13
 
@@ -22,38 +22,5 @@ Depends on:
22
22
 
23
23
  - [MediaControl](./player.mediacontrol.md)
24
24
 
25
- The plugin renders the live stream indicator and the DVR seek bar, if DVR is enabled, in the media control UI.
25
+ The plugin renders live stream indicator. If DVR is enabled, the indicator shows whether the current position is at the live edge of the stream or not. In the latter case, the indicator can be clicked to seek to the live edge.
26
26
 
27
- ## Constructors
28
-
29
- <table><thead><tr><th>
30
-
31
- Constructor
32
-
33
-
34
- </th><th>
35
-
36
- Modifiers
37
-
38
-
39
- </th><th>
40
-
41
- Description
42
-
43
-
44
- </th></tr></thead>
45
- <tbody><tr><td>
46
-
47
- [(constructor)(core)](./player.dvrcontrols._constructor_.md)
48
-
49
-
50
- </td><td>
51
-
52
-
53
- </td><td>
54
-
55
- **_(BETA)_** Constructs a new instance of the `DvrControls` class
56
-
57
-
58
- </td></tr>
59
- </tbody></table>
@@ -4,9 +4,6 @@
4
4
 
5
5
  ## ErrorLevel type
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
-
10
7
  Levels of severity of errors. Non-fatal errors usually can be ignored.
11
8
 
12
9
  **Signature:**
@@ -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
- Displays a descriptive error in the overlay on top of the player.
10
+ `PLUGIN` that displays errors nicely in the overlay on top of the player.
11
11
 
12
12
  **Signature:**
13
13
 
@@ -16,222 +16,3 @@ export declare class ErrorScreen extends UICorePlugin
16
16
  ```
17
17
  **Extends:** UICorePlugin
18
18
 
19
- ## Properties
20
-
21
- <table><thead><tr><th>
22
-
23
- Property
24
-
25
-
26
- </th><th>
27
-
28
- Modifiers
29
-
30
-
31
- </th><th>
32
-
33
- Type
34
-
35
-
36
- </th><th>
37
-
38
- Description
39
-
40
-
41
- </th></tr></thead>
42
- <tbody><tr><td>
43
-
44
- [attributes](./player.errorscreen.attributes.md)
45
-
46
-
47
- </td><td>
48
-
49
- `readonly`
50
-
51
-
52
- </td><td>
53
-
54
- { class: string; 'data-error-screen': string; }
55
-
56
-
57
- </td><td>
58
-
59
- **_(BETA)_**
60
-
61
-
62
- </td></tr>
63
- <tr><td>
64
-
65
- [container](./player.errorscreen.container.md)
66
-
67
-
68
- </td><td>
69
-
70
- `readonly`
71
-
72
-
73
- </td><td>
74
-
75
- any
76
-
77
-
78
- </td><td>
79
-
80
- **_(BETA)_**
81
-
82
-
83
- </td></tr>
84
- <tr><td>
85
-
86
- [name](./player.errorscreen.name.md)
87
-
88
-
89
- </td><td>
90
-
91
- `readonly`
92
-
93
-
94
- </td><td>
95
-
96
- string
97
-
98
-
99
- </td><td>
100
-
101
- **_(BETA)_**
102
-
103
-
104
- </td></tr>
105
- <tr><td>
106
-
107
- [supportedVersion](./player.errorscreen.supportedversion.md)
108
-
109
-
110
- </td><td>
111
-
112
- `readonly`
113
-
114
-
115
- </td><td>
116
-
117
- { min: string; }
118
-
119
-
120
- </td><td>
121
-
122
- **_(BETA)_**
123
-
124
-
125
- </td></tr>
126
- <tr><td>
127
-
128
- [template](./player.errorscreen.template.md)
129
-
130
-
131
- </td><td>
132
-
133
- `readonly`
134
-
135
-
136
- </td><td>
137
-
138
- any
139
-
140
-
141
- </td><td>
142
-
143
- **_(BETA)_**
144
-
145
-
146
- </td></tr>
147
- </tbody></table>
148
-
149
- ## Methods
150
-
151
- <table><thead><tr><th>
152
-
153
- Method
154
-
155
-
156
- </th><th>
157
-
158
- Modifiers
159
-
160
-
161
- </th><th>
162
-
163
- Description
164
-
165
-
166
- </th></tr></thead>
167
- <tbody><tr><td>
168
-
169
- [bindEvents()](./player.errorscreen.bindevents.md)
170
-
171
-
172
- </td><td>
173
-
174
-
175
- </td><td>
176
-
177
- **_(BETA)_**
178
-
179
-
180
- </td></tr>
181
- <tr><td>
182
-
183
- [hide()](./player.errorscreen.hide.md)
184
-
185
-
186
- </td><td>
187
-
188
-
189
- </td><td>
190
-
191
- **_(BETA)_**
192
-
193
-
194
- </td></tr>
195
- <tr><td>
196
-
197
- [render()](./player.errorscreen.render.md)
198
-
199
-
200
- </td><td>
201
-
202
-
203
- </td><td>
204
-
205
- **_(BETA)_**
206
-
207
-
208
- </td></tr>
209
- <tr><td>
210
-
211
- [show(err)](./player.errorscreen.show.md)
212
-
213
-
214
- </td><td>
215
-
216
-
217
- </td><td>
218
-
219
- **_(BETA)_**
220
-
221
-
222
- </td></tr>
223
- <tr><td>
224
-
225
- [unBindEvents()](./player.errorscreen.unbindevents.md)
226
-
227
-
228
- </td><td>
229
-
230
-
231
- </td><td>
232
-
233
- **_(BETA)_**
234
-
235
-
236
- </td></tr>
237
- </tbody></table>
@@ -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; [ErrorScreen](./player.errorscreen.md) &gt; [render](./player.errorscreen.render.md)
3
+ [Home](./index.md) &gt; [@gcorevideo/player](./player.md) &gt; [ErrorScreenPluginSettings](./player.errorscreenpluginsettings.md)
4
4
 
5
- ## ErrorScreen.render() method
5
+ ## ErrorScreenPluginSettings type
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
+ Configuration options for the [error screen](./player.errorscreen.md) plugin.
11
+
10
12
  **Signature:**
11
13
 
12
14
  ```typescript
13
- render(): this;
15
+ export type ErrorScreenPluginSettings = {
16
+ noReload?: boolean;
17
+ };
14
18
  ```
15
- **Returns:**
16
-
17
- this
18
-
@@ -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 custom favicon to the player's tab.
10
+ `PLUGIN` that adds custom favicon to the player's tab.
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
- An example Google Analytics integration plugin
10
+ `PLUGIN` that integrates with Google Analytics
11
11
 
12
12
  **Signature:**
13
13
 
@@ -4,9 +4,6 @@
4
4
 
5
5
  ## LangTag type
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
-
10
7
  An ISO 639-1 language code.
11
8
 
12
9
  **Signature:**
@@ -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
- A [media control](./player.mediacontrol.md) plugin that provides a UI to control the quality level of the playback.
10
+ `PLUGIN` that provides a UI to select the desired quality level of the playback.
11
11
 
12
12
  **Signature:**
13
13
 
@@ -24,15 +24,9 @@ Depends on:
24
24
 
25
25
  - [BottomGear](./player.bottomgear.md)
26
26
 
27
- The plugin is rendered as an item in the gear menu.
27
+ The plugin is rendered as an item in the gear menu, which, when clicked, shows a list of quality levels to choose from.
28
28
 
29
- When clicked, it shows a list of quality levels to choose from.
30
-
31
- Configuration options:
32
-
33
- - `labels`<!-- -->: The labels to show in the level selector. \[video resolution\]: string
34
-
35
- - `restrictResolution`<!-- -->: The maximum resolution to allow in the level selector.
29
+ Configuration options - [LevelSelectorPluginSettings](./player.levelselectorpluginsettings.md)
36
30
 
37
31
  ## Example
38
32
 
@@ -1,18 +1,24 @@
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; [bindEvents](./player.errorscreen.bindevents.md)
3
+ [Home](./index.md) &gt; [@gcorevideo/player](./player.md) &gt; [LevelSelectorPluginSettings](./player.levelselectorpluginsettings.md) &gt; [labels](./player.levelselectorpluginsettings.labels.md)
4
4
 
5
- ## ErrorScreen.bindEvents() method
5
+ ## LevelSelectorPluginSettings.labels 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
+ The labels to show in the level selector.
11
+
10
12
  **Signature:**
11
13
 
12
14
  ```typescript
13
- bindEvents(): void;
15
+ labels?: Record<number, string>;
14
16
  ```
15
- **Returns:**
16
17
 
17
- void
18
+ ## Example
19
+
20
+
21
+ ```ts
22
+ { 360: 'SD', 720: 'HD' }
23
+ ```
18
24
 
@@ -0,0 +1,79 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@gcorevideo/player](./player.md) &gt; [LevelSelectorPluginSettings](./player.levelselectorpluginsettings.md)
4
+
5
+ ## LevelSelectorPluginSettings interface
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
+ Configuration options for the [level selector](./player.levelselector.md) plugin.
11
+
12
+ **Signature:**
13
+
14
+ ```typescript
15
+ export interface LevelSelectorPluginSettings
16
+ ```
17
+
18
+ ## Properties
19
+
20
+ <table><thead><tr><th>
21
+
22
+ Property
23
+
24
+
25
+ </th><th>
26
+
27
+ Modifiers
28
+
29
+
30
+ </th><th>
31
+
32
+ Type
33
+
34
+
35
+ </th><th>
36
+
37
+ Description
38
+
39
+
40
+ </th></tr></thead>
41
+ <tbody><tr><td>
42
+
43
+ [labels?](./player.levelselectorpluginsettings.labels.md)
44
+
45
+
46
+ </td><td>
47
+
48
+
49
+ </td><td>
50
+
51
+ Record&lt;number, string&gt;
52
+
53
+
54
+ </td><td>
55
+
56
+ **_(BETA)_** _(Optional)_ The labels to show in the level selector.
57
+
58
+
59
+ </td></tr>
60
+ <tr><td>
61
+
62
+ [restrictResolution?](./player.levelselectorpluginsettings.restrictresolution.md)
63
+
64
+
65
+ </td><td>
66
+
67
+
68
+ </td><td>
69
+
70
+ number
71
+
72
+
73
+ </td><td>
74
+
75
+ **_(BETA)_** _(Optional)_ The maximum resolution to allow in the level selector.
76
+
77
+
78
+ </td></tr>
79
+ </tbody></table>