@gcorevideo/player 2.20.1 → 2.20.4

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 (289) hide show
  1. package/dist/core.js +30 -6
  2. package/dist/index.css +1572 -1572
  3. package/dist/index.js +343 -226
  4. package/dist/player.d.ts +280 -52
  5. package/dist/plugins/index.css +619 -619
  6. package/dist/plugins/index.js +1468 -1351
  7. package/docs/api/player.audioselector.md +1 -251
  8. package/docs/api/player.bigmutebutton.md +1 -156
  9. package/docs/api/player.clapprstats.exportmetrics.md +4 -0
  10. package/docs/api/player.clapprstats.md +7 -223
  11. package/docs/api/player.clapprstats.setupdatemetrics.md +2 -0
  12. package/docs/api/player.clicktopause.md +5 -113
  13. package/docs/api/player.clipsplugin.gettext.md +9 -0
  14. package/docs/api/player.clipsplugin.md +10 -94
  15. package/docs/api/player.clipspluginsettings.md +57 -0
  16. package/docs/api/player.clipspluginsettings.text.md +13 -0
  17. package/docs/api/player.contextmenu._constructor_.md +6 -3
  18. package/docs/api/player.contextmenu.md +13 -256
  19. package/docs/api/{player.audioselector.bindevents.md → player.contextmenupluginsettings.label.md} +3 -7
  20. package/docs/api/player.contextmenupluginsettings.md +98 -0
  21. package/docs/api/{player.audioselector.attributes.md → player.contextmenupluginsettings.preventshowcontextmenu.md} +3 -6
  22. package/docs/api/{player.audioselector.reload.md → player.contextmenupluginsettings.url.md} +3 -7
  23. package/docs/api/player.dvrcontrols.md +1 -1
  24. package/docs/api/player.errorscreen.md +0 -2
  25. package/docs/api/player.favicon._constructor_.md +3 -0
  26. package/docs/api/player.favicon.bindevents.md +3 -0
  27. package/docs/api/player.favicon.configure.md +3 -0
  28. package/docs/api/player.favicon.destroy.md +3 -0
  29. package/docs/api/player.favicon.disable.md +3 -0
  30. package/docs/api/player.favicon.md +18 -1
  31. package/docs/api/player.favicon.name.md +3 -0
  32. package/docs/api/player.favicon.supportedversion.md +3 -0
  33. package/docs/api/player.gearevents.md +4 -1
  34. package/docs/api/player.googleanalytics._constructor_.md +3 -0
  35. package/docs/api/player.googleanalytics.addeventlisteners.md +3 -0
  36. package/docs/api/player.googleanalytics.embedscript.md +3 -0
  37. package/docs/api/player.googleanalytics.md +42 -1
  38. package/docs/api/player.googleanalytics.name.md +3 -0
  39. package/docs/api/player.googleanalytics.onbufferfull.md +3 -0
  40. package/docs/api/player.googleanalytics.onbuffering.md +3 -0
  41. package/docs/api/player.googleanalytics.ondvr.md +3 -0
  42. package/docs/api/player.googleanalytics.onended.md +3 -0
  43. package/docs/api/player.googleanalytics.onerror.md +3 -0
  44. package/docs/api/player.googleanalytics.onfullscreen.md +3 -0
  45. package/docs/api/player.googleanalytics.onhd.md +3 -0
  46. package/docs/api/player.googleanalytics.onpause.md +3 -0
  47. package/docs/api/player.googleanalytics.onplay.md +3 -0
  48. package/docs/api/player.googleanalytics.onready.md +3 -0
  49. package/docs/api/player.googleanalytics.onseek.md +3 -0
  50. package/docs/api/player.googleanalytics.onstop.md +3 -0
  51. package/docs/api/player.googleanalytics.onvolumechanged.md +3 -0
  52. package/docs/api/player.googleanalytics.push.md +3 -0
  53. package/docs/api/player.googleanalytics.supportedversion.md +3 -0
  54. package/docs/api/player.initeventdata.event.md +3 -0
  55. package/docs/api/player.initeventdata.md +7 -0
  56. package/docs/api/player.logo._constructor_.md +3 -0
  57. package/docs/api/player.logo.attributes.md +3 -0
  58. package/docs/api/player.logo.bindevents.md +3 -0
  59. package/docs/api/player.logo.md +20 -1
  60. package/docs/api/player.logo.name.md +3 -0
  61. package/docs/api/player.logo.render.md +3 -0
  62. package/docs/api/player.logo.stoplistening.md +3 -0
  63. package/docs/api/player.logo.supportedversion.md +3 -0
  64. package/docs/api/player.logo.template.md +3 -0
  65. package/docs/api/player.md +73 -21
  66. package/docs/api/player.mediacontrolelement.md +1 -1
  67. package/docs/api/player.multicamera._constructor_.md +3 -0
  68. package/docs/api/player.multicamera.activebyid.md +3 -0
  69. package/docs/api/player.multicamera.attributes.md +3 -0
  70. package/docs/api/player.multicamera.bindevents.md +3 -0
  71. package/docs/api/player.multicamera.events.md +3 -0
  72. package/docs/api/player.multicamera.getcameraslist.md +3 -0
  73. package/docs/api/player.multicamera.getcurrentcamera.md +3 -0
  74. package/docs/api/player.multicamera.md +30 -1
  75. package/docs/api/player.multicamera.name.md +3 -0
  76. package/docs/api/player.multicamera.render.md +3 -0
  77. package/docs/api/player.multicamera.supportedversion.md +3 -0
  78. package/docs/api/player.multicamera.template.md +3 -0
  79. package/docs/api/player.multicamera.unbindevents.md +3 -0
  80. package/docs/api/player.multicamera.version.md +3 -0
  81. package/docs/api/player.seektime.attributes.md +3 -0
  82. package/docs/api/player.seektime.bindevents.md +3 -0
  83. package/docs/api/player.seektime.durationshown.md +3 -0
  84. package/docs/api/player.seektime.getseektime.md +3 -0
  85. package/docs/api/player.seektime.islivestreamwithdvr.md +3 -0
  86. package/docs/api/player.seektime.md +31 -0
  87. package/docs/api/player.seektime.mediacontrol.md +3 -0
  88. package/docs/api/player.seektime.mediacontrolcontainer.md +3 -0
  89. package/docs/api/player.seektime.name.md +3 -0
  90. package/docs/api/player.seektime.render.md +3 -0
  91. package/docs/api/player.seektime.shouldbevisible.md +3 -0
  92. package/docs/api/player.seektime.supportedversion.md +3 -0
  93. package/docs/api/player.seektime.template.md +3 -0
  94. package/docs/api/player.seektime.update.md +3 -0
  95. package/docs/api/player.share.md +2 -0
  96. package/docs/api/player.skiptime.md +2 -0
  97. package/docs/api/player.stalleventdata.count.md +3 -0
  98. package/docs/api/player.stalleventdata.event.md +3 -0
  99. package/docs/api/player.stalleventdata.md +8 -3
  100. package/docs/api/player.stalleventdata.time.md +3 -0
  101. package/docs/api/player.stalleventdata.total_ms.md +3 -0
  102. package/docs/api/player.starteventdata.event.md +3 -0
  103. package/docs/api/player.starteventdata.md +7 -0
  104. package/docs/api/player.telemetryevent.md +11 -0
  105. package/docs/api/player.telemetryeventdata.md +3 -0
  106. package/docs/api/player.telemetrypluginsettings.md +4 -1
  107. package/docs/api/player.telemetrypluginsettings.send.md +3 -0
  108. package/docs/api/player.telemetryrecord.md +3 -0
  109. package/docs/api/player.thumbnails.md +21 -139
  110. package/docs/api/player.thumbnailspluginsettings.md +23 -0
  111. package/docs/api/player.volumefade.md +1 -0
  112. package/docs/api/player.volumefadeevents.md +7 -0
  113. package/docs/api/player.watcheventdata.event.md +3 -0
  114. package/docs/api/player.watcheventdata.md +7 -0
  115. package/docs/api/player.zeptoresult.md +1 -0
  116. package/lib/Player.d.ts +5 -3
  117. package/lib/Player.d.ts.map +1 -1
  118. package/lib/Player.js +30 -6
  119. package/lib/index.plugins.d.ts +0 -1
  120. package/lib/index.plugins.d.ts.map +1 -1
  121. package/lib/index.plugins.js +0 -1
  122. package/lib/internal.types.d.ts +7 -7
  123. package/lib/internal.types.d.ts.map +1 -1
  124. package/lib/plugins/audio-selector/AudioSelector.d.ts +28 -6
  125. package/lib/plugins/audio-selector/AudioSelector.d.ts.map +1 -1
  126. package/lib/plugins/audio-selector/AudioSelector.js +52 -22
  127. package/lib/plugins/big-mute-button/BigMuteButton.d.ts +18 -2
  128. package/lib/plugins/big-mute-button/BigMuteButton.d.ts.map +1 -1
  129. package/lib/plugins/big-mute-button/BigMuteButton.js +21 -16
  130. package/lib/plugins/bottom-gear/BottomGear.d.ts +1 -0
  131. package/lib/plugins/bottom-gear/BottomGear.d.ts.map +1 -1
  132. package/lib/plugins/bottom-gear/BottomGear.js +1 -0
  133. package/lib/plugins/clappr-stats/ClapprStats.d.ts +31 -8
  134. package/lib/plugins/clappr-stats/ClapprStats.d.ts.map +1 -1
  135. package/lib/plugins/clappr-stats/ClapprStats.js +24 -0
  136. package/lib/plugins/clappr-stats/types.d.ts +12 -0
  137. package/lib/plugins/clappr-stats/types.d.ts.map +1 -1
  138. package/lib/plugins/clappr-stats/types.js +3 -0
  139. package/lib/plugins/click-to-pause/ClickToPause.d.ts +13 -1
  140. package/lib/plugins/click-to-pause/ClickToPause.d.ts.map +1 -1
  141. package/lib/plugins/click-to-pause/ClickToPause.js +14 -4
  142. package/lib/plugins/clips/Clips.d.ts +34 -2
  143. package/lib/plugins/clips/Clips.d.ts.map +1 -1
  144. package/lib/plugins/clips/Clips.js +51 -22
  145. package/lib/plugins/context-menu/ContextMenu.d.ts +44 -13
  146. package/lib/plugins/context-menu/ContextMenu.d.ts.map +1 -1
  147. package/lib/plugins/context-menu/ContextMenu.js +48 -36
  148. package/lib/plugins/dvr-controls/DvrControls.d.ts +1 -3
  149. package/lib/plugins/dvr-controls/DvrControls.d.ts.map +1 -1
  150. package/lib/plugins/dvr-controls/DvrControls.js +11 -28
  151. package/lib/plugins/error-screen/ErrorScreen.d.ts +0 -1
  152. package/lib/plugins/error-screen/ErrorScreen.d.ts.map +1 -1
  153. package/lib/plugins/error-screen/ErrorScreen.js +0 -1
  154. package/lib/plugins/favicon/Favicon.d.ts +4 -0
  155. package/lib/plugins/favicon/Favicon.d.ts.map +1 -1
  156. package/lib/plugins/favicon/Favicon.js +4 -0
  157. package/lib/plugins/google-analytics/GoogleAnalytics.d.ts +4 -0
  158. package/lib/plugins/google-analytics/GoogleAnalytics.d.ts.map +1 -1
  159. package/lib/plugins/google-analytics/GoogleAnalytics.js +5 -1
  160. package/lib/plugins/index.d.ts +0 -1
  161. package/lib/plugins/index.d.ts.map +1 -1
  162. package/lib/plugins/index.js +0 -1
  163. package/lib/plugins/logo/Logo.d.ts +4 -0
  164. package/lib/plugins/logo/Logo.d.ts.map +1 -1
  165. package/lib/plugins/logo/Logo.js +4 -0
  166. package/lib/plugins/media-control/MediaControl.d.ts +1 -1
  167. package/lib/plugins/media-control/MediaControl.d.ts.map +1 -1
  168. package/lib/plugins/media-control/MediaControl.js +3 -1
  169. package/lib/plugins/multi-camera/MultiCamera.d.ts +4 -0
  170. package/lib/plugins/multi-camera/MultiCamera.d.ts.map +1 -1
  171. package/lib/plugins/multi-camera/MultiCamera.js +6 -2
  172. package/lib/plugins/seek-time/SeekTime.d.ts +4 -0
  173. package/lib/plugins/seek-time/SeekTime.d.ts.map +1 -1
  174. package/lib/plugins/seek-time/SeekTime.js +6 -2
  175. package/lib/plugins/share/Share.d.ts +3 -0
  176. package/lib/plugins/share/Share.d.ts.map +1 -1
  177. package/lib/plugins/share/Share.js +4 -1
  178. package/lib/plugins/skip-time/SkipTime.d.ts +3 -0
  179. package/lib/plugins/skip-time/SkipTime.d.ts.map +1 -1
  180. package/lib/plugins/skip-time/SkipTime.js +3 -0
  181. package/lib/plugins/telemetry/Telemetry.d.ts +18 -0
  182. package/lib/plugins/telemetry/Telemetry.d.ts.map +1 -1
  183. package/lib/plugins/telemetry/Telemetry.js +1 -0
  184. package/lib/plugins/thumbnails/Thumbnails.d.ts +48 -3
  185. package/lib/plugins/thumbnails/Thumbnails.d.ts.map +1 -1
  186. package/lib/plugins/thumbnails/Thumbnails.js +52 -18
  187. package/lib/plugins/volume-fade/VolumeFade.d.ts +5 -0
  188. package/lib/plugins/volume-fade/VolumeFade.d.ts.map +1 -1
  189. package/lib/plugins/volume-fade/VolumeFade.js +5 -0
  190. package/lib/types.d.ts +9 -1
  191. package/lib/types.d.ts.map +1 -1
  192. package/lib/utils/types.d.ts +1 -0
  193. package/lib/utils/types.d.ts.map +1 -1
  194. package/package.json +1 -1
  195. package/release_notes +297 -0
  196. package/src/Player.ts +101 -46
  197. package/src/__tests__/Player.test.ts +23 -1
  198. package/src/index.plugins.ts +0 -1
  199. package/src/internal.types.ts +86 -79
  200. package/src/plugins/audio-selector/AudioSelector.ts +227 -154
  201. package/src/plugins/big-mute-button/BigMuteButton.ts +100 -79
  202. package/src/plugins/bottom-gear/BottomGear.ts +1 -0
  203. package/src/plugins/clappr-stats/ClapprStats.ts +32 -8
  204. package/src/plugins/clappr-stats/types.ts +13 -0
  205. package/src/plugins/click-to-pause/ClickToPause.ts +47 -36
  206. package/src/plugins/clips/Clips.ts +127 -71
  207. package/src/plugins/context-menu/ContextMenu.ts +109 -76
  208. package/src/plugins/dvr-controls/DvrControls.ts +11 -30
  209. package/src/plugins/error-screen/ErrorScreen.ts +0 -1
  210. package/src/plugins/favicon/Favicon.ts +4 -0
  211. package/src/plugins/google-analytics/GoogleAnalytics.ts +5 -1
  212. package/src/plugins/index.ts +0 -1
  213. package/src/plugins/logo/Logo.ts +4 -0
  214. package/src/plugins/media-control/MediaControl.ts +4 -1
  215. package/src/plugins/multi-camera/MultiCamera.ts +6 -2
  216. package/src/plugins/seek-time/SeekTime.ts +6 -2
  217. package/src/plugins/share/Share.ts +4 -1
  218. package/src/plugins/skip-time/SkipTime.ts +3 -0
  219. package/src/plugins/telemetry/Telemetry.ts +18 -0
  220. package/src/plugins/thumbnails/Thumbnails.ts +268 -194
  221. package/src/plugins/volume-fade/VolumeFade.ts +5 -0
  222. package/src/types.ts +11 -1
  223. package/src/utils/types.ts +1 -0
  224. package/temp/player.api.json +627 -2468
  225. package/tsconfig.tsbuildinfo +1 -1
  226. package/docs/api/player.audioselector.events.md +0 -17
  227. package/docs/api/player.audioselector.hideselecttrackmenu.md +0 -18
  228. package/docs/api/player.audioselector.name.md +0 -14
  229. package/docs/api/player.audioselector.onshowlevelselectmenu.md +0 -18
  230. package/docs/api/player.audioselector.render.md +0 -18
  231. package/docs/api/player.audioselector.supportedversion.md +0 -16
  232. package/docs/api/player.audioselector.template.md +0 -14
  233. package/docs/api/player.audioselector.togglecontextmenu.md +0 -18
  234. package/docs/api/player.audioselector.unbindevents.md +0 -18
  235. package/docs/api/player.audioselector.version.md +0 -14
  236. package/docs/api/player.bigmutebutton.bindevents.md +0 -18
  237. package/docs/api/player.bigmutebutton.events.md +0 -17
  238. package/docs/api/player.bigmutebutton.name.md +0 -14
  239. package/docs/api/player.bigmutebutton.render.md +0 -18
  240. package/docs/api/player.bigmutebutton.supportedversion.md +0 -16
  241. package/docs/api/player.bigmutebutton.template.md +0 -14
  242. package/docs/api/player.clapprstats._buildreport.md +0 -18
  243. package/docs/api/player.clapprstats._defaultreport.md +0 -52
  244. package/docs/api/player.clapprstats._playbackname.md +0 -14
  245. package/docs/api/player.clapprstats._playbacktype.md +0 -14
  246. package/docs/api/player.clapprstats.bindevents.md +0 -18
  247. package/docs/api/player.clapprstats.destroy.md +0 -18
  248. package/docs/api/player.clapprstats.name.md +0 -14
  249. package/docs/api/player.clapprstats.onfirstplaying.md +0 -18
  250. package/docs/api/player.clapprstats.playafterpause.md +0 -18
  251. package/docs/api/player.clapprstats.starttimers.md +0 -18
  252. package/docs/api/player.clapprstats.stopreporting.md +0 -18
  253. package/docs/api/player.clapprstats.supportedversion.md +0 -16
  254. package/docs/api/player.clicktopause.bindevents.md +0 -15
  255. package/docs/api/player.clicktopause.config.md +0 -11
  256. package/docs/api/player.clicktopause.name.md +0 -11
  257. package/docs/api/player.clicktopause.supportedversion.md +0 -13
  258. package/docs/api/player.clipsplugin.attributes.md +0 -13
  259. package/docs/api/player.clipsplugin.bindevents.md +0 -15
  260. package/docs/api/player.clipsplugin.makesvg.md +0 -49
  261. package/docs/api/player.clipsplugin.name.md +0 -11
  262. package/docs/api/player.clipsplugin.unbindevents.md +0 -15
  263. package/docs/api/player.contextmenu.attributes.md +0 -13
  264. package/docs/api/player.contextmenu.bindevents.md +0 -15
  265. package/docs/api/player.contextmenu.destroy.md +0 -15
  266. package/docs/api/player.contextmenu.events.md +0 -13
  267. package/docs/api/player.contextmenu.exposeversion.md +0 -14
  268. package/docs/api/player.contextmenu.label.md +0 -11
  269. package/docs/api/player.contextmenu.mediacontrol.md +0 -11
  270. package/docs/api/player.contextmenu.name.md +0 -11
  271. package/docs/api/player.contextmenu.render.md +0 -15
  272. package/docs/api/player.contextmenu.supportedversion.md +0 -13
  273. package/docs/api/player.contextmenu.template.md +0 -11
  274. package/docs/api/player.contextmenu.url.md +0 -11
  275. package/docs/api/player.disablecontrols.bindevents.md +0 -15
  276. package/docs/api/player.disablecontrols.container.md +0 -11
  277. package/docs/api/player.disablecontrols.md +0 -138
  278. package/docs/api/player.disablecontrols.name.md +0 -11
  279. package/docs/api/player.disablecontrols.supportedversion.md +0 -13
  280. package/docs/api/player.disablecontrols.unbindevents.md +0 -15
  281. package/docs/api/player.thumbnails.attributes.md +0 -13
  282. package/docs/api/player.thumbnails.bindevents.md +0 -15
  283. package/docs/api/player.thumbnails.name.md +0 -11
  284. package/docs/api/player.thumbnails.settext.md +0 -49
  285. package/docs/api/player.thumbnails.supportedversion.md +0 -13
  286. package/docs/api/player.thumbnails.template.md +0 -11
  287. package/src/plugins/disable-controls/DisableControls.ts +0 -81
  288. package/src/plugins/ga-events/GaEvents.js +0 -395
  289. package/src/plugins/ga-events/ga-tracking.js +0 -46
package/dist/player.d.ts CHANGED
@@ -28,41 +28,63 @@ import { UICorePlugin } from '@clappr/core';
28
28
  import { UIObject } from '@clappr/core';
29
29
 
30
30
  /**
31
+ * Adds an audio track selector to the media control UI.
31
32
  * @beta
32
33
  */
33
34
  export declare class AudioSelector extends UICorePlugin {
34
35
  private selectedTrackId;
35
36
  private currentTrack;
36
37
  private tracks;
38
+ /**
39
+ * @internal
40
+ */
37
41
  get name(): string;
42
+ /**
43
+ * @internal
44
+ */
38
45
  get supportedVersion(): {
39
46
  min: string;
40
47
  };
48
+ /**
49
+ * @internal
50
+ */
41
51
  static get version(): string;
42
- get template(): any;
52
+ private static readonly template;
53
+ /**
54
+ * @internal
55
+ */
43
56
  get attributes(): {
44
57
  class: string;
45
58
  'data-track-selector': string;
46
59
  };
60
+ /**
61
+ * @internal
62
+ */
47
63
  get events(): {
48
64
  'click [data-track-selector-select]': string;
49
65
  'click [data-track-selector-button]': string;
50
66
  };
67
+ /**
68
+ * @internal
69
+ */
51
70
  bindEvents(): void;
52
- unBindEvents(): void;
71
+ private unBindEvents;
53
72
  private bindPlaybackEvents;
54
73
  private setupAudioTrackListeners;
55
74
  private onStop;
56
- reload(): void;
75
+ private reload;
57
76
  private shouldRender;
77
+ /**
78
+ * @internal
79
+ */
58
80
  render(): this;
59
81
  private fillTracks;
60
82
  private findTrackBy;
61
83
  private onTrackSelect;
62
84
  private setIndexTrack;
63
- onShowLevelSelectMenu(): void;
64
- hideSelectTrackMenu(): void;
65
- toggleContextMenu(): void;
85
+ private onShowLevelSelectMenu;
86
+ private hideSelectTrackMenu;
87
+ private toggleContextMenu;
66
88
  private buttonElement;
67
89
  private buttonElementText;
68
90
  private trackElement;
@@ -76,6 +98,8 @@ export declare class AudioSelector extends UICorePlugin {
76
98
  }
77
99
 
78
100
  /**
101
+ * Displays a big mute button over the video when it's muted.
102
+ * Once pressed, it unmutes the video.
79
103
  * @beta
80
104
  */
81
105
  export declare class BigMuteButton extends UICorePlugin {
@@ -83,17 +107,28 @@ export declare class BigMuteButton extends UICorePlugin {
83
107
  private _adIsPlaying;
84
108
  private $bigMuteBtnContainer;
85
109
  private $bigMuteButton;
110
+ /**
111
+ * @internal
112
+ */
86
113
  get name(): string;
114
+ /**
115
+ * @internal
116
+ */
87
117
  get supportedVersion(): {
88
118
  min: string;
89
119
  };
90
- get template(): any;
120
+ private static readonly template;
121
+ /**
122
+ * @internal
123
+ */
91
124
  get events(): {
92
125
  'click .big-mute-icon': string;
93
126
  'click .big-mute-icon-wrapper': string;
94
127
  };
128
+ /**
129
+ * @internal
130
+ */
95
131
  bindEvents(): void;
96
- private unBindEvents;
97
132
  private onCoreReady;
98
133
  private onContainerVolume;
99
134
  private onContainerStart;
@@ -102,6 +137,9 @@ export declare class BigMuteButton extends UICorePlugin {
102
137
  private onStartAd;
103
138
  private onFinishAd;
104
139
  private shouldRender;
140
+ /**
141
+ * @internal
142
+ */
105
143
  render(): this;
106
144
  private hideBigMuteBtn;
107
145
  private showBigMuteBtn;
@@ -109,6 +147,9 @@ export declare class BigMuteButton extends UICorePlugin {
109
147
  private handleBigMuteBtnClick;
110
148
  }
111
149
 
150
+ /**
151
+ * @beta
152
+ */
112
153
  declare type BitrateTrackRecord = {
113
154
  start: number;
114
155
  end?: number;
@@ -261,7 +302,10 @@ export declare class ClapprNerdStats extends UICorePlugin {
261
302
  }
262
303
 
263
304
  /**
305
+ * Collects useful statistics about playback performance.
264
306
  * @beta
307
+ * @remarks
308
+ * This plugin does not render anything and is supposed to be extended or used together with other plugins that actually render something.
265
309
  */
266
310
  export declare class ClapprStats extends ContainerPlugin {
267
311
  private bwMeasureCount;
@@ -276,27 +320,47 @@ export declare class ClapprStats extends ContainerPlugin {
276
320
  private updateFn;
277
321
  private urisToMeasureBandwidth;
278
322
  private uriToMeasureLatency;
323
+ /**
324
+ * @internal
325
+ */
279
326
  get name(): string;
327
+ /**
328
+ * @internal
329
+ */
280
330
  get supportedVersion(): {
281
331
  min: string;
282
332
  };
283
- get _playbackName(): string;
284
- get _playbackType(): any;
333
+ private get _playbackName();
334
+ private get _playbackType();
285
335
  private _now;
286
336
  private _inc;
287
337
  private start;
288
338
  private _stop;
339
+ /**
340
+ * Registers a callback to receive the metrics.
341
+ * @param updateMetricsFn
342
+ */
289
343
  setUpdateMetrics(updateMetricsFn: MetricsUpdateFn): void;
290
- _defaultReport(metrics: Metrics): void;
344
+ private _defaultReport;
291
345
  constructor(container: Container);
346
+ /**
347
+ * @internal
348
+ */
292
349
  bindEvents(): void;
350
+ /**
351
+ * @internal
352
+ */
293
353
  destroy(): void;
354
+ /**
355
+ * Returns the collected metrics.
356
+ * @returns The collected metrics
357
+ */
294
358
  exportMetrics(): Metrics;
295
359
  onBitrate(newBitrate: QualityLevel): void;
296
- stopReporting(): void;
297
- startTimers(): void;
298
- onFirstPlaying(): void;
299
- playAfterPause(): void;
360
+ private stopReporting;
361
+ private startTimers;
362
+ private onFirstPlaying;
363
+ private playAfterPause;
300
364
  private onPlay;
301
365
  private onPause;
302
366
  private onSeek;
@@ -307,7 +371,7 @@ export declare class ClapprStats extends ContainerPlugin {
307
371
  private onProgress;
308
372
  private _newMetrics;
309
373
  private _onCompletion;
310
- _buildReport(): void;
374
+ private _buildReport;
311
375
  private _fetchFPS;
312
376
  private _calculateBitrates;
313
377
  private _calculatePercentages;
@@ -316,14 +380,26 @@ export declare class ClapprStats extends ContainerPlugin {
316
380
  private _measureBandwidth;
317
381
  }
318
382
 
383
+ /**
384
+ * Adds a behavior of toggling the playback state on click over the container
385
+ * @beta
386
+ */
319
387
  export declare class ClickToPause extends ContainerPlugin {
320
388
  private pointerEnabled;
321
389
  private timer;
390
+ /**
391
+ * @internal
392
+ */
322
393
  get name(): string;
394
+ /**
395
+ * @internal
396
+ */
323
397
  get supportedVersion(): {
324
398
  min: string;
325
399
  };
326
- get config(): any;
400
+ /**
401
+ * @internal
402
+ */
327
403
  bindEvents(): void;
328
404
  private click;
329
405
  private settingsUpdate;
@@ -331,30 +407,63 @@ export declare class ClickToPause extends ContainerPlugin {
331
407
  private clearTimer;
332
408
  }
333
409
 
410
+ /**
411
+ * Adds a behavior of showing a text over the seekbar to indicate the current clip.
412
+ * @beta
413
+ * @remarks
414
+ * Depends on:
415
+ *
416
+ * - {@link MediaControl}
417
+ *
418
+ * Configuration options - {@link ClipsPluginSettings}
419
+ */
334
420
  export declare class ClipsPlugin extends UICorePlugin {
335
421
  private clips;
336
422
  private duration;
337
423
  private durationGetting;
338
424
  private _oldContainer;
339
425
  private svgMask;
426
+ /**
427
+ * @internal
428
+ */
340
429
  get name(): string;
430
+ /**
431
+ * @internal
432
+ */
341
433
  get attributes(): {
342
434
  class: string;
343
435
  };
436
+ /**
437
+ * @internal
438
+ */
344
439
  bindEvents(): void;
345
440
  private _onCoreReady;
346
- unbindEvents(): void;
347
441
  private _onMediaControlContainerChanged;
348
442
  private playerResize;
349
443
  private _bindContainerEvents;
350
444
  private onTimeUpdate;
351
445
  private parseClips;
446
+ /**
447
+ * Returns the text of the current clip.
448
+ * @param time - The current time of the player.
449
+ * @returns The text of the current clip.
450
+ */
352
451
  getText(time: number): string;
353
- makeSvg(duration: number): void;
452
+ private makeSvg;
354
453
  private setSVGMask;
355
454
  private setClipText;
356
455
  }
357
456
 
457
+ /**
458
+ * Configuration options
459
+ */
460
+ export declare interface ClipsPluginSettings {
461
+ /**
462
+ * The text to display over the seekbar.
463
+ */
464
+ text: string;
465
+ }
466
+
358
467
  /**
359
468
  * Dimensions of the player container DOM element.
360
469
  * @beta
@@ -364,38 +473,70 @@ export declare type ContainerSize = {
364
473
  height: number;
365
474
  };
366
475
 
367
- export declare class ContextMenu extends UICorePlugin {
476
+ /**
477
+ * Displays a small context menu when clicked on the player container.
478
+ * @beta
479
+ * @remarks
480
+ * Configuration options - {@link ContextMenuPluginSettings}
481
+ */
482
+ export declare class ContextMenu extends UIContainerPlugin {
368
483
  private _label;
369
484
  private _url;
370
- private container;
371
485
  private menuOptions;
486
+ /**
487
+ * @internal
488
+ */
372
489
  get name(): string;
490
+ /**
491
+ * @internal
492
+ */
373
493
  get supportedVersion(): {
374
494
  min: string;
375
495
  };
496
+ /**
497
+ * @internal
498
+ */
376
499
  get attributes(): {
377
500
  class: string;
378
501
  };
379
- get mediaControl(): any;
380
- get template(): any;
381
- get label(): string;
382
- get url(): string;
383
- get exposeVersion(): {
384
- label: string;
385
- name: string;
386
- };
502
+ private static readonly template;
503
+ private get label();
504
+ private get url();
505
+ private get exposeVersion();
506
+ /**
507
+ * @internal
508
+ */
387
509
  get events(): {
388
510
  'click [data-version]': string;
389
511
  };
390
- constructor(core: Core);
512
+ constructor(container: Container);
513
+ /**
514
+ * @internal
515
+ */
391
516
  bindEvents(): void;
517
+ /**
518
+ * @internal
519
+ */
392
520
  destroy(): UIObject;
393
- private containerChanged;
394
521
  private toggleContextMenu;
395
522
  private show;
396
523
  private hide;
397
524
  private onOpenMainPage;
525
+ /**
526
+ * @internal
527
+ */
398
528
  render(): this;
529
+ private hideOnBodyClick;
530
+ }
531
+
532
+ /**
533
+ * The plugin adds a context menu to the player.
534
+ * @beta
535
+ */
536
+ export declare interface ContextMenuPluginSettings {
537
+ label?: string;
538
+ url?: string;
539
+ preventShowContextMenu?: boolean;
399
540
  }
400
541
 
401
542
  /**
@@ -405,20 +546,6 @@ export declare class ContextMenu extends UICorePlugin {
405
546
  */
406
547
  export declare type DashSettings = Record<string, unknown>;
407
548
 
408
- export declare class DisableControls extends UICorePlugin {
409
- get name(): string;
410
- get container(): any;
411
- get supportedVersion(): {
412
- min: string;
413
- };
414
- bindEvents(): void;
415
- unbindEvents(): void;
416
- private setDisableStyles;
417
- private onCoreReady;
418
- private enableControls;
419
- private disableAllControls;
420
- }
421
-
422
549
  /**
423
550
  * Adds the DVR controls to the media control UI
424
551
  * @beta
@@ -426,7 +553,7 @@ export declare class DisableControls extends UICorePlugin {
426
553
  * @remarks
427
554
  * Depends on:
428
555
  *
429
- * - {@link MediaControl | media_control}
556
+ * - {@link MediaControl}
430
557
  *
431
558
  * The plugin renders the live stream indicator and the DVR seek bar, if DVR is enabled, in the media control UI.
432
559
  */
@@ -460,9 +587,7 @@ export declare class DvrControls extends UICorePlugin {
460
587
  * @internal
461
588
  */
462
589
  bindEvents(): void;
463
- private bindCoreEvents;
464
590
  private bindContainerEvents;
465
- private containerChanged;
466
591
  private dvrChanged;
467
592
  private click;
468
593
  private settingsUpdate;
@@ -482,7 +607,6 @@ export declare type ErrorLevel = 'FATAL' | 'WARN' | 'INFO';
482
607
  /**
483
608
  * Displays a descriptive error in the overlay on top of the player.
484
609
  * @beta
485
- * TODO
486
610
  */
487
611
  export declare class ErrorScreen extends UICorePlugin {
488
612
  private _retry;
@@ -518,6 +642,10 @@ export declare class ErrorScreen extends UICorePlugin {
518
642
  render(): this;
519
643
  }
520
644
 
645
+ /**
646
+ * The plugin adds custom favicon to the player's tab.
647
+ * @beta
648
+ */
521
649
  export declare class Favicon extends CorePlugin {
522
650
  private _container;
523
651
  private oldIcon;
@@ -543,6 +671,7 @@ export declare class Favicon extends CorePlugin {
543
671
 
544
672
  /**
545
673
  * Custom events emitted by the plugin
674
+ * @beta
546
675
  */
547
676
  export declare enum GearEvents {
548
677
  /**
@@ -557,6 +686,10 @@ export declare enum GearEvents {
557
686
  */
558
687
  export declare type GearItemElement = 'quality' | 'rate' | 'nerd';
559
688
 
689
+ /**
690
+ * An example Google Analytics integration plugin
691
+ * @beta
692
+ */
560
693
  export declare class GoogleAnalytics extends ContainerPlugin {
561
694
  private account;
562
695
  private trackerName;
@@ -586,6 +719,10 @@ export declare class GoogleAnalytics extends ContainerPlugin {
586
719
  push(array: string[]): void;
587
720
  }
588
721
 
722
+ /**
723
+ * Telemetry init event data
724
+ * @beta
725
+ */
589
726
  export declare interface InitEventData {
590
727
  event: TelemetryEvent.Init;
591
728
  }
@@ -722,6 +859,10 @@ export declare class LevelSelector extends UICorePlugin {
722
859
 
723
860
  export { Logger }
724
861
 
862
+ /**
863
+ * The plugin adds custom logo to the player.
864
+ * @beta
865
+ */
725
866
  export declare class Logo extends UIContainerPlugin {
726
867
  private hasStartedPlaying;
727
868
  private $logoContainer;
@@ -1016,7 +1157,7 @@ export declare class MediaControl extends UICorePlugin {
1016
1157
  * Media control elements, mount points for additional plugins
1017
1158
  * @beta
1018
1159
  */
1019
- export declare type MediaControlElement = 'bottomGear' | 'clipText' | 'gear' | 'pip' | 'playbackRate' | 'seekBarContainer' | 'subtitlesSelector';
1160
+ export declare type MediaControlElement = 'audioTracksSelector' | 'bottomGear' | 'clipText' | 'gear' | 'pip' | 'playbackRate' | 'seekBarContainer' | 'subtitlesSelector';
1020
1161
 
1021
1162
  declare type MediaSourceInfo = {
1022
1163
  live: boolean;
@@ -1032,6 +1173,9 @@ declare type MediaSourceInfo = {
1032
1173
  */
1033
1174
  export declare type MediaTransport = 'dash' | 'hls';
1034
1175
 
1176
+ /**
1177
+ * @beta
1178
+ */
1035
1179
  declare type Metrics = {
1036
1180
  counters: {
1037
1181
  play: number;
@@ -1071,8 +1215,15 @@ declare type Metrics = {
1071
1215
  custom: Record<string, unknown>;
1072
1216
  };
1073
1217
 
1218
+ /**
1219
+ * @beta
1220
+ */
1074
1221
  declare type MetricsUpdateFn = (metrics: Metrics) => void;
1075
1222
 
1223
+ /**
1224
+ * The plugin adds support for loading multiple streams and switching between them using the media control UI.
1225
+ * @beta
1226
+ */
1076
1227
  export declare class MultiCamera extends UICorePlugin {
1077
1228
  private currentCamera;
1078
1229
  private currentTime;
@@ -1840,6 +1991,10 @@ export declare interface QualityLevel {
1840
1991
 
1841
1992
  export { reportError_2 as reportError }
1842
1993
 
1994
+ /**
1995
+ * The plugin adds a seek time indicator to the media control UI.
1996
+ * @beta
1997
+ */
1843
1998
  export declare class SeekTime extends UICorePlugin {
1844
1999
  get name(): string;
1845
2000
  get supportedVersion(): {
@@ -1880,6 +2035,9 @@ export { SentryTracer }
1880
2035
 
1881
2036
  export { setTracer }
1882
2037
 
2038
+ /**
2039
+ * The plugin adds a share button to the media control UI.
2040
+ */
1883
2041
  export declare class Share extends UICorePlugin {
1884
2042
  private hide;
1885
2043
  private container;
@@ -1916,6 +2074,9 @@ export declare class Share extends UICorePlugin {
1916
2074
  onShareEmbedClick(): void;
1917
2075
  }
1918
2076
 
2077
+ /**
2078
+ * The plugin adds skip controls to the media control UI.
2079
+ */
1919
2080
  export declare class SkipTime extends UICorePlugin {
1920
2081
  get name(): string;
1921
2082
  get supportedVersion(): {
@@ -2052,6 +2213,7 @@ export declare class SpinnerThreeBounce extends UIContainerPlugin {
2052
2213
 
2053
2214
  /**
2054
2215
  * Playback stall event data
2216
+ * @beta
2055
2217
  */
2056
2218
  export declare interface StallEventData {
2057
2219
  event: TelemetryEvent.Stall;
@@ -2069,6 +2231,10 @@ export declare interface StallEventData {
2069
2231
  time: number;
2070
2232
  }
2071
2233
 
2234
+ /**
2235
+ * Telemetry start event data
2236
+ * @beta
2237
+ */
2072
2238
  export declare interface StartEventData {
2073
2239
  event: TelemetryEvent.Start;
2074
2240
  }
@@ -2254,6 +2420,7 @@ export declare class Telemetry extends ContainerPlugin {
2254
2420
 
2255
2421
  /**
2256
2422
  * Telemetry event type
2423
+ * @beta
2257
2424
  */
2258
2425
  export declare enum TelemetryEvent {
2259
2426
  Init = 1,
@@ -2264,11 +2431,13 @@ export declare enum TelemetryEvent {
2264
2431
 
2265
2432
  /**
2266
2433
  * Telemetry event data
2434
+ * @beta
2267
2435
  */
2268
2436
  export declare type TelemetryEventData = StallEventData | InitEventData | StartEventData | WatchEventData;
2269
2437
 
2270
2438
  /**
2271
2439
  * Plugin settings
2440
+ * @beta
2272
2441
  */
2273
2442
  export declare interface TelemetryPluginSettings {
2274
2443
  /**
@@ -2280,6 +2449,7 @@ export declare interface TelemetryPluginSettings {
2280
2449
 
2281
2450
  /**
2282
2451
  * Telemetry record
2452
+ * @beta
2283
2453
  */
2284
2454
  export declare type TelemetryRecord = {
2285
2455
  type: PlaybackType;
@@ -2288,9 +2458,32 @@ export declare type TelemetryRecord = {
2288
2458
  /**
2289
2459
  * Callback to send the telemetry record to the storage.
2290
2460
  * @param data - The telemetry record to send.
2461
+ * @beta
2291
2462
  */
2292
2463
  declare type TelemetrySendFn = (data: TelemetryRecord) => void;
2293
2464
 
2465
+ /**
2466
+ * Displays the thumbnails of the video when available.
2467
+ * @beta
2468
+ * @example
2469
+ * ```ts
2470
+ * import { Thumbnails } from '@gcorevideo/player'
2471
+ *
2472
+ * Player.registerPlugin(Thumbnails)
2473
+ *
2474
+ * new Player({
2475
+ * thumbnails: {
2476
+ * backdropHeight: 200,
2477
+ * backdropMinOpacity: 0.9,
2478
+ * backdropMaxOpacity: 0.99,
2479
+ * spotlightHeight: 100,
2480
+ * vtt: '1\n00:00:00,000 --> 00:00:10,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=0,0,100,56\n\n2\n00:00:10,000 --> 00:00:20,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=100,0,100,56\n\n3\n00:00:20,000 --> 00:00:30,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=200,0,100,56\n\n4\n00:00:30,000 --> 00:00:40,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=300,0,100,56\n\n5\n00:00:40,000 --> 00:00:50,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=400,0,100,56\n\n6\n00:00:50,000 --> 00:01:00,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=500,0,100,56\n\n7\n00:01:00,000 --> 00:01:10,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=600,0,100,56\n\n8\n00:01:10,000 --> 00:01:20,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=0,56,100,56\n\n9\n00:01:20,000 --> 00:01:30,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=100,56,100,56\n\n10\n00:01:30,000 --> 00:01:40,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=200,56,100,56\n\n11\n00:01:40,000 --> 00:01:50,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=300,56,100,56\n\n12\n00:01:50,000 --> 00:02:00,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=400,56,100,56\n\n13\n00:02:00,000 --> 00:02:10,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=500,56,100,56\n\n14\n00:02:10,000 --> 00:02:20,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=600,56,100,56\n\n15\n00:02:20,000 --> 00:02:30,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=0,112,100,56\n\n16\n00:02:30,000 --> 00:02:40,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=100,112,100,56\n\n17\n00:02:40,000 --> 00:02:50,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=200,112,100,56\n\n18\n00:02:50,000 --> 00:03:00,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=300,112,100,56\n\n19\n00:03:00,000 --> 00:03:10,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=400,112,100,56\n\n20\n00:03:10,000 --> 00:03:20,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=500,112,100,56\n\n21\n00:03:20,000 --> 00:03:30,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=600,112,100,56\n\n22\n00:03:30,000 --> 00:03:40,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=0,168,100,56\n\n23\n00:03:40,000 --> 00:03:50,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=100,168,100,56\n\n24\n00:03:50,000 --> 00:04:00,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=200,168,100,56\n\n25\n00:04:00,000 --> 00:04:10,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=300,168,100,56\n\n26\n00:04:10,000 --> 00:04:20,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=400,168,100,56\n\n27\n00:04:20,000 --> 00:04:30,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=500,168,100,56\n\n28\n00:04:30,000 --> 00:04:40,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=600,168,100,56\n\n29\n00:04:40,000 --> 00:04:50,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=0,224,100,56\n\n30\n00:04:50,000 --> 00:05:00,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=100,224,100,56\n\n31\n00:05:00,000 --> 00:05:10,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=200,224,100,56\n\n32\n00:05:10,000 --> 00:05:20,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=300,224,100,56\n\n33\n00:05:20,000 --> 00:05:30,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=400,224,100,56\n\n34\n00:05:30,000 --> 00:05:40,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=500,224,100,56\n\n35\n00:05:40,000 --> 00:05:50,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=600,224,100,56\n\n36\n00:05:50,000 --> 00:06:00,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=0,280,100,56\n\n37\n00:06:00,000 --> 00:06:10,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=100,280,100,56\n\n38\n00:06:10,000 --> 00:06:20,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=200,280,100,56\n\n39\n00:06:20,000 --> 00:06:30,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=300,280,100,56\n\n40\n00:06:30,000 --> 00:06:40,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=400,280,100,56\n\n41\n00:06:40,000 --> 00:06:50,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=500,280,100,56\n\n42\n00:06:50,000 --> 00:07:00,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=600,280,100,56\n\n43\n00:07:00,000 --> 00:07:10,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=0,336,100,56\n\n44\n00:07:10,000 --> 00:07:20,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=100,336,100,56\n\n45\n00:07:20,000 --> 00:07:30,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=200,336,100,56\n\n46\n00:07:30,000 --> 00:07:40,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=300,336,100,56\n\n47\n00:07:40,000 --> 00:07:50,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=400,336,100,56\n\n48\n00:07:50,000 --> 00:08:00,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=500,336,100,56\n\n49\n00:08:00,000 --> 00:08:10,000\n3dk4NsRt6vWsffEr_sprite.jpg#xywh=600,336,100,56\n',
2481
+ * sprite:
2482
+ * 'https://static.gvideo.co/videoplatform/sprites/2675/2452164_3dk4NsRt6vWsffEr.mp4_sprite.jpg',
2483
+ * },
2484
+ * })
2485
+ * ```
2486
+ */
2294
2487
  export declare class Thumbnails extends UICorePlugin {
2295
2488
  private _$spotlight;
2296
2489
  private _$backdrop;
@@ -2305,15 +2498,27 @@ export declare class Thumbnails extends UICorePlugin {
2305
2498
  private _thumbsLoaded;
2306
2499
  private _oldContainer;
2307
2500
  private _thumbs;
2501
+ /**
2502
+ * @internal
2503
+ */
2308
2504
  get name(): string;
2505
+ /**
2506
+ * @internal
2507
+ */
2309
2508
  get supportedVersion(): {
2310
2509
  min: string;
2311
2510
  };
2511
+ /**
2512
+ * @internal
2513
+ */
2312
2514
  get attributes(): {
2313
2515
  class: string;
2314
2516
  };
2315
- get template(): any;
2517
+ private static readonly template;
2316
2518
  private buildSpriteConfig;
2519
+ /**
2520
+ * @internal
2521
+ */
2317
2522
  bindEvents(): void;
2318
2523
  private _bindContainerEvents;
2319
2524
  private _onCoreReady;
@@ -2327,7 +2532,7 @@ export declare class Thumbnails extends UICorePlugin {
2327
2532
  private _calculateHoverPosition;
2328
2533
  private _buildImg;
2329
2534
  private _loadBackdrop;
2330
- setText(time: TimeValue): void;
2535
+ private setText;
2331
2536
  private _updateCarousel;
2332
2537
  private _updateSpotlightThumb;
2333
2538
  private _getThumbIndexForTime;
@@ -2335,6 +2540,19 @@ export declare class Thumbnails extends UICorePlugin {
2335
2540
  private _createElements;
2336
2541
  }
2337
2542
 
2543
+ /**
2544
+ * Plugin configuration options for the thumbnails plugin.
2545
+ * @beta
2546
+ */
2547
+ export declare type ThumbnailsPluginSettings = {
2548
+ backdropHeight: number;
2549
+ backdropMaxOpacity: number;
2550
+ backdropMinOpacity: number;
2551
+ spotlightHeight: number;
2552
+ sprite: string;
2553
+ vtt: string;
2554
+ };
2555
+
2338
2556
  /**
2339
2557
  * Current playback time and total duration of the media.
2340
2558
  * @beta
@@ -2431,6 +2649,7 @@ export declare function version(): {
2431
2649
  };
2432
2650
 
2433
2651
  /**
2652
+ * Applies fade effect to the player's volume change.
2434
2653
  * @beta
2435
2654
  */
2436
2655
  export declare class VolumeFade extends UICorePlugin {
@@ -2456,15 +2675,24 @@ export declare class VolumeFade extends UICorePlugin {
2456
2675
  private onLeave;
2457
2676
  }
2458
2677
 
2678
+ /**
2679
+ * Events emitted by the VolumeFade plugin.
2680
+ * @beta
2681
+ */
2459
2682
  export declare enum VolumeFadeEvents {
2460
2683
  FADE = "core:volume:fade"
2461
2684
  }
2462
2685
 
2686
+ /**
2687
+ * Telemetry watch event data
2688
+ * @beta
2689
+ */
2463
2690
  export declare interface WatchEventData {
2464
2691
  event: TelemetryEvent.Watch;
2465
2692
  }
2466
2693
 
2467
2694
  /**
2695
+ * {@link https://zeptojs.com/#$() | Zepto query result}
2468
2696
  * @beta
2469
2697
  */
2470
2698
  export declare type ZeptoResult = ReturnType<typeof $>;