@gcorevideo/player 2.19.6 → 2.19.8

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 (460) hide show
  1. package/README.md +3 -7
  2. package/build/vite-raw-plugin.js +1 -1
  3. package/dist/core.js +1 -1
  4. package/dist/index.css +826 -826
  5. package/dist/index.js +105 -49
  6. package/dist/player.d.ts +1977 -0
  7. package/dist/plugins/index.css +1388 -1388
  8. package/dist/plugins/index.js +104 -48
  9. package/docs/api/player.audioselector.attributes.md +17 -0
  10. package/docs/api/player.audioselector.bindevents.md +18 -0
  11. package/docs/api/player.audioselector.events.md +17 -0
  12. package/docs/api/player.audioselector.hideselecttrackmenu.md +18 -0
  13. package/docs/api/player.audioselector.highlightcurrenttrack.md +18 -0
  14. package/docs/api/player.audioselector.md +329 -0
  15. package/docs/api/player.audioselector.name.md +14 -0
  16. package/docs/api/player.audioselector.onshowlevelselectmenu.md +18 -0
  17. package/docs/api/player.audioselector.reload.md +18 -0
  18. package/docs/api/player.audioselector.render.md +18 -0
  19. package/docs/api/player.audioselector.starttrackswitch.md +18 -0
  20. package/docs/api/player.audioselector.supportedversion.md +16 -0
  21. package/docs/api/player.audioselector.template.md +14 -0
  22. package/docs/api/player.audioselector.togglecontextmenu.md +18 -0
  23. package/docs/api/player.audioselector.unbindevents.md +18 -0
  24. package/docs/api/player.audioselector.updatecurrenttrack.md +66 -0
  25. package/docs/api/player.audioselector.version.md +14 -0
  26. package/docs/api/player.bigmutebutton.bindevents.md +18 -0
  27. package/docs/api/player.bigmutebutton.events.md +17 -0
  28. package/docs/api/player.bigmutebutton.md +173 -0
  29. package/docs/api/player.bigmutebutton.name.md +14 -0
  30. package/docs/api/player.bigmutebutton.render.md +18 -0
  31. package/docs/api/player.bigmutebutton.supportedversion.md +16 -0
  32. package/docs/api/player.bigmutebutton.template.md +14 -0
  33. package/docs/api/player.bottomgear.attributes.md +17 -0
  34. package/docs/api/player.bottomgear.bindevents.md +18 -0
  35. package/docs/api/player.bottomgear.container.md +14 -0
  36. package/docs/api/player.bottomgear.events.md +16 -0
  37. package/docs/api/player.bottomgear.hide.md +18 -0
  38. package/docs/api/player.bottomgear.md +308 -0
  39. package/docs/api/player.bottomgear.name.md +14 -0
  40. package/docs/api/player.bottomgear.refresh.md +18 -0
  41. package/docs/api/player.bottomgear.reload.md +18 -0
  42. package/docs/api/player.bottomgear.render.md +18 -0
  43. package/docs/api/player.bottomgear.supportedversion.md +16 -0
  44. package/docs/api/player.bottomgear.template.md +14 -0
  45. package/docs/api/player.bottomgear.togglegearmenu.md +18 -0
  46. package/docs/api/player.bottomgear.unbindevents.md +18 -0
  47. package/docs/api/player.bottomgear.version.md +14 -0
  48. package/docs/api/player.clapprnerdstats._constructor_.md +50 -0
  49. package/docs/api/player.clapprnerdstats.attributes.md +17 -0
  50. package/docs/api/player.clapprnerdstats.bindevents.md +18 -0
  51. package/docs/api/player.clapprnerdstats.events.md +18 -0
  52. package/docs/api/player.clapprnerdstats.md +312 -0
  53. package/docs/api/player.clapprnerdstats.name.md +14 -0
  54. package/docs/api/player.clapprnerdstats.playerheight.md +14 -0
  55. package/docs/api/player.clapprnerdstats.playerwidth.md +14 -0
  56. package/docs/api/player.clapprnerdstats.render.md +18 -0
  57. package/docs/api/player.clapprnerdstats.statsboxelem.md +14 -0
  58. package/docs/api/player.clapprnerdstats.statsboxwidththreshold.md +14 -0
  59. package/docs/api/player.clapprnerdstats.supportedversion.md +16 -0
  60. package/docs/api/player.clapprnerdstats.template.md +14 -0
  61. package/docs/api/player.clapprstats._buildreport.md +18 -0
  62. package/docs/api/player.clapprstats._constructor_.md +50 -0
  63. package/docs/api/player.clapprstats._defaultreport.md +52 -0
  64. package/docs/api/player.clapprstats._playbackname.md +14 -0
  65. package/docs/api/player.clapprstats._playbacktype.md +14 -0
  66. package/docs/api/player.clapprstats.bindevents.md +18 -0
  67. package/docs/api/player.clapprstats.destroy.md +18 -0
  68. package/docs/api/player.clapprstats.exportmetrics.md +18 -0
  69. package/docs/api/player.clapprstats.md +333 -0
  70. package/docs/api/player.clapprstats.name.md +14 -0
  71. package/docs/api/player.clapprstats.onbitrate.md +52 -0
  72. package/docs/api/player.clapprstats.onfirstplaying.md +18 -0
  73. package/docs/api/player.clapprstats.playafterpause.md +18 -0
  74. package/docs/api/player.clapprstats.setupdatemetrics.md +52 -0
  75. package/docs/api/player.clapprstats.starttimers.md +18 -0
  76. package/docs/api/player.clapprstats.stopreporting.md +18 -0
  77. package/docs/api/player.clapprstats.supportedversion.md +16 -0
  78. package/docs/api/player.clicktopause.bindevents.md +15 -0
  79. package/docs/api/player.clicktopause.config.md +11 -0
  80. package/docs/api/player.clicktopause.md +126 -0
  81. package/docs/api/player.clicktopause.name.md +11 -0
  82. package/docs/api/player.clicktopause.supportedversion.md +13 -0
  83. package/docs/api/player.clipsplugin.attributes.md +13 -0
  84. package/docs/api/player.clipsplugin.bindevents.md +15 -0
  85. package/docs/api/player.clipsplugin.gettext.md +49 -0
  86. package/docs/api/player.clipsplugin.makesvg.md +49 -0
  87. package/docs/api/player.clipsplugin.md +143 -0
  88. package/docs/api/player.clipsplugin.name.md +11 -0
  89. package/docs/api/player.clipsplugin.unbindevents.md +15 -0
  90. package/docs/api/player.contextmenu._constructor_.md +47 -0
  91. package/docs/api/player.contextmenu.attributes.md +13 -0
  92. package/docs/api/player.contextmenu.bindevents.md +15 -0
  93. package/docs/api/player.contextmenu.destroy.md +15 -0
  94. package/docs/api/player.contextmenu.events.md +13 -0
  95. package/docs/api/player.contextmenu.exposeversion.md +14 -0
  96. package/docs/api/player.contextmenu.label.md +11 -0
  97. package/docs/api/player.contextmenu.md +298 -0
  98. package/docs/api/player.contextmenu.mediacontrol.md +11 -0
  99. package/docs/api/player.contextmenu.name.md +11 -0
  100. package/docs/api/player.contextmenu.render.md +15 -0
  101. package/docs/api/player.contextmenu.supportedversion.md +13 -0
  102. package/docs/api/player.contextmenu.template.md +11 -0
  103. package/docs/api/player.contextmenu.url.md +11 -0
  104. package/docs/api/player.disablecontrols.bindevents.md +15 -0
  105. package/docs/api/player.disablecontrols.container.md +11 -0
  106. package/docs/api/player.disablecontrols.md +138 -0
  107. package/docs/api/player.disablecontrols.name.md +11 -0
  108. package/docs/api/player.disablecontrols.supportedversion.md +13 -0
  109. package/docs/api/player.disablecontrols.unbindevents.md +15 -0
  110. package/docs/api/player.dvrcontrols._constructor_.md +47 -0
  111. package/docs/api/player.dvrcontrols.attributes.md +14 -0
  112. package/docs/api/player.dvrcontrols.bindevents.md +15 -0
  113. package/docs/api/player.dvrcontrols.click.md +15 -0
  114. package/docs/api/player.dvrcontrols.events.md +13 -0
  115. package/docs/api/player.dvrcontrols.md +246 -0
  116. package/docs/api/player.dvrcontrols.name.md +11 -0
  117. package/docs/api/player.dvrcontrols.render.md +15 -0
  118. package/docs/api/player.dvrcontrols.settingsupdate.md +15 -0
  119. package/docs/api/player.dvrcontrols.shouldrender.md +15 -0
  120. package/docs/api/player.dvrcontrols.supportedversion.md +13 -0
  121. package/docs/api/player.dvrcontrols.template.md +11 -0
  122. package/docs/api/player.errorscreen.attributes.md +14 -0
  123. package/docs/api/player.errorscreen.bindevents.md +15 -0
  124. package/docs/api/player.errorscreen.container.md +11 -0
  125. package/docs/api/player.errorscreen.hide.md +15 -0
  126. package/docs/api/player.errorscreen.md +212 -0
  127. package/docs/api/player.errorscreen.name.md +11 -0
  128. package/docs/api/player.errorscreen.render.md +15 -0
  129. package/docs/api/player.errorscreen.show.md +51 -0
  130. package/docs/api/player.errorscreen.supportedversion.md +13 -0
  131. package/docs/api/player.errorscreen.template.md +11 -0
  132. package/docs/api/player.errorscreen.unbindevents.md +15 -0
  133. package/docs/api/player.favicon._constructor_.md +47 -0
  134. package/docs/api/player.favicon.bindevents.md +15 -0
  135. package/docs/api/player.favicon.configure.md +15 -0
  136. package/docs/api/player.favicon.destroy.md +15 -0
  137. package/docs/api/player.favicon.disable.md +15 -0
  138. package/docs/api/player.favicon.md +177 -0
  139. package/docs/api/player.favicon.name.md +11 -0
  140. package/docs/api/player.favicon.supportedversion.md +13 -0
  141. package/docs/api/player.googleanalytics._constructor_.md +47 -0
  142. package/docs/api/player.googleanalytics.addeventlisteners.md +15 -0
  143. package/docs/api/player.googleanalytics.embedscript.md +15 -0
  144. package/docs/api/player.googleanalytics.md +321 -0
  145. package/docs/api/player.googleanalytics.name.md +11 -0
  146. package/docs/api/player.googleanalytics.onbufferfull.md +15 -0
  147. package/docs/api/player.googleanalytics.onbuffering.md +15 -0
  148. package/docs/api/player.googleanalytics.ondvr.md +49 -0
  149. package/docs/api/player.googleanalytics.onended.md +15 -0
  150. package/docs/api/player.googleanalytics.onerror.md +15 -0
  151. package/docs/api/player.googleanalytics.onfullscreen.md +15 -0
  152. package/docs/api/player.googleanalytics.onhd.md +49 -0
  153. package/docs/api/player.googleanalytics.onpause.md +15 -0
  154. package/docs/api/player.googleanalytics.onplay.md +15 -0
  155. package/docs/api/player.googleanalytics.onready.md +15 -0
  156. package/docs/api/player.googleanalytics.onseek.md +15 -0
  157. package/docs/api/player.googleanalytics.onstop.md +15 -0
  158. package/docs/api/player.googleanalytics.onvolumechanged.md +15 -0
  159. package/docs/api/player.googleanalytics.push.md +49 -0
  160. package/docs/api/player.googleanalytics.supportedversion.md +13 -0
  161. package/docs/api/player.levelselector.attributes.md +17 -0
  162. package/docs/api/player.levelselector.bindevents.md +18 -0
  163. package/docs/api/player.levelselector.events.md +18 -0
  164. package/docs/api/player.levelselector.md +217 -0
  165. package/docs/api/player.levelselector.name.md +14 -0
  166. package/docs/api/player.levelselector.render.md +18 -0
  167. package/docs/api/player.levelselector.supportedversion.md +16 -0
  168. package/docs/api/player.levelselector.version.md +14 -0
  169. package/docs/api/player.logo._constructor_.md +47 -0
  170. package/docs/api/player.logo.attributes.md +14 -0
  171. package/docs/api/player.logo.bindevents.md +15 -0
  172. package/docs/api/player.logo.md +203 -0
  173. package/docs/api/player.logo.name.md +11 -0
  174. package/docs/api/player.logo.render.md +15 -0
  175. package/docs/api/player.logo.stoplistening.md +15 -0
  176. package/docs/api/player.logo.supportedversion.md +13 -0
  177. package/docs/api/player.logo.template.md +11 -0
  178. package/docs/api/player.md +319 -0
  179. package/docs/api/player.mediacontrol._constructor_.md +50 -0
  180. package/docs/api/player.mediacontrol.attributes.md +17 -0
  181. package/docs/api/player.mediacontrol.bindcontainerevents.md +18 -0
  182. package/docs/api/player.mediacontrol.bindevents.md +18 -0
  183. package/docs/api/player.mediacontrol.container.md +14 -0
  184. package/docs/api/player.mediacontrol.destroy.md +18 -0
  185. package/docs/api/player.mediacontrol.disable.md +18 -0
  186. package/docs/api/player.mediacontrol.disabled.md +14 -0
  187. package/docs/api/player.mediacontrol.disabledcontrolbutton.md +20 -0
  188. package/docs/api/player.mediacontrol.enable.md +18 -0
  189. package/docs/api/player.mediacontrol.enablecontrolbutton.md +20 -0
  190. package/docs/api/player.mediacontrol.events.md +40 -0
  191. package/docs/api/player.mediacontrol.getelement.md +58 -0
  192. package/docs/api/player.mediacontrol.getexternalinterface.md +21 -0
  193. package/docs/api/player.mediacontrol.md +513 -0
  194. package/docs/api/player.mediacontrol.muted.md +16 -0
  195. package/docs/api/player.mediacontrol.name.md +14 -0
  196. package/docs/api/player.mediacontrol.pause.md +20 -0
  197. package/docs/api/player.mediacontrol.play.md +20 -0
  198. package/docs/api/player.mediacontrol.playback.md +14 -0
  199. package/docs/api/player.mediacontrol.render.md +18 -0
  200. package/docs/api/player.mediacontrol.setinitialvolume.md +20 -0
  201. package/docs/api/player.mediacontrol.setmuted.md +52 -0
  202. package/docs/api/player.mediacontrol.setvolume.md +76 -0
  203. package/docs/api/player.mediacontrol.stop.md +20 -0
  204. package/docs/api/player.mediacontrol.supportedversion.md +16 -0
  205. package/docs/api/player.mediacontrol.volume.md +16 -0
  206. package/docs/api/player.mediacontrolelement.md +15 -0
  207. package/docs/api/player.multicamera._constructor_.md +47 -0
  208. package/docs/api/player.multicamera.activebyid.md +63 -0
  209. package/docs/api/player.multicamera.attributes.md +14 -0
  210. package/docs/api/player.multicamera.bindevents.md +15 -0
  211. package/docs/api/player.multicamera.events.md +14 -0
  212. package/docs/api/player.multicamera.getcameraslist.md +15 -0
  213. package/docs/api/player.multicamera.getcurrentcamera.md +15 -0
  214. package/docs/api/player.multicamera.md +279 -0
  215. package/docs/api/player.multicamera.name.md +11 -0
  216. package/docs/api/player.multicamera.render.md +15 -0
  217. package/docs/api/player.multicamera.supportedversion.md +13 -0
  218. package/docs/api/player.multicamera.template.md +11 -0
  219. package/docs/api/player.multicamera.unbindevents.md +15 -0
  220. package/docs/api/player.multicamera.version.md +11 -0
  221. package/docs/api/player.pictureinpicture.bindevents.md +15 -0
  222. package/docs/api/player.pictureinpicture.events.md +13 -0
  223. package/docs/api/player.pictureinpicture.exitpictureinpicture.md +15 -0
  224. package/docs/api/player.pictureinpicture.md +214 -0
  225. package/docs/api/player.pictureinpicture.name.md +11 -0
  226. package/docs/api/player.pictureinpicture.render.md +15 -0
  227. package/docs/api/player.pictureinpicture.requestpictureinpicture.md +15 -0
  228. package/docs/api/player.pictureinpicture.supportedversion.md +13 -0
  229. package/docs/api/player.pictureinpicture.togglepictureinpicture.md +15 -0
  230. package/docs/api/player.pictureinpicture.version.md +11 -0
  231. package/docs/api/player.pictureinpicture.videoelement.md +11 -0
  232. package/docs/api/player.playbackrate.attributes.md +14 -0
  233. package/docs/api/player.playbackrate.bindevents.md +15 -0
  234. package/docs/api/player.playbackrate.events.md +15 -0
  235. package/docs/api/player.playbackrate.gettitle.md +15 -0
  236. package/docs/api/player.playbackrate.goback.md +15 -0
  237. package/docs/api/player.playbackrate.highlightcurrentrate.md +15 -0
  238. package/docs/api/player.playbackrate.md +332 -0
  239. package/docs/api/player.playbackrate.name.md +11 -0
  240. package/docs/api/player.playbackrate.onfinishad.md +15 -0
  241. package/docs/api/player.playbackrate.onplay.md +15 -0
  242. package/docs/api/player.playbackrate.onrateselect.md +49 -0
  243. package/docs/api/player.playbackrate.onshowmenu.md +15 -0
  244. package/docs/api/player.playbackrate.onstartad.md +15 -0
  245. package/docs/api/player.playbackrate.onstop.md +15 -0
  246. package/docs/api/player.playbackrate.reload.md +15 -0
  247. package/docs/api/player.playbackrate.render.md +15 -0
  248. package/docs/api/player.playbackrate.setselectedrate.md +49 -0
  249. package/docs/api/player.playbackrate.supportedversion.md +13 -0
  250. package/docs/api/player.playbackrate.template.md +11 -0
  251. package/docs/api/player.playbackrate.unbindevents.md +15 -0
  252. package/docs/api/player.playbackrate.updateplaybackrate.md +49 -0
  253. package/docs/api/player.pluginsettings.md +13 -0
  254. package/docs/api/player.poster.attributes.md +14 -0
  255. package/docs/api/player.poster.bindevents.md +15 -0
  256. package/docs/api/player.poster.destroy.md +15 -0
  257. package/docs/api/player.poster.disable.md +15 -0
  258. package/docs/api/player.poster.enable.md +15 -0
  259. package/docs/api/player.poster.events.md +13 -0
  260. package/docs/api/player.poster.md +250 -0
  261. package/docs/api/player.poster.name.md +11 -0
  262. package/docs/api/player.poster.render.md +15 -0
  263. package/docs/api/player.poster.shouldrender.md +11 -0
  264. package/docs/api/player.poster.showonvideoend.md +11 -0
  265. package/docs/api/player.poster.supportedversion.md +13 -0
  266. package/docs/api/player.poster.template.md +11 -0
  267. package/docs/api/player.seektime.attributes.md +14 -0
  268. package/docs/api/player.seektime.bindevents.md +15 -0
  269. package/docs/api/player.seektime.durationshown.md +11 -0
  270. package/docs/api/player.seektime.getseektime.md +17 -0
  271. package/docs/api/player.seektime.islivestreamwithdvr.md +11 -0
  272. package/docs/api/player.seektime.md +269 -0
  273. package/docs/api/player.seektime.mediacontrol.md +11 -0
  274. package/docs/api/player.seektime.mediacontrolcontainer.md +11 -0
  275. package/docs/api/player.seektime.name.md +11 -0
  276. package/docs/api/player.seektime.render.md +15 -0
  277. package/docs/api/player.seektime.shouldbevisible.md +15 -0
  278. package/docs/api/player.seektime.supportedversion.md +13 -0
  279. package/docs/api/player.seektime.template.md +11 -0
  280. package/docs/api/player.seektime.update.md +15 -0
  281. package/docs/api/player.share.attributes.md +14 -0
  282. package/docs/api/player.share.bindevents.md +15 -0
  283. package/docs/api/player.share.canshowshare.md +15 -0
  284. package/docs/api/player.share.events.md +18 -0
  285. package/docs/api/player.share.hideshare.md +15 -0
  286. package/docs/api/player.share.initializeicons.md +15 -0
  287. package/docs/api/player.share.md +308 -0
  288. package/docs/api/player.share.name.md +11 -0
  289. package/docs/api/player.share.onshareembedclick.md +15 -0
  290. package/docs/api/player.share.onsharefb.md +15 -0
  291. package/docs/api/player.share.onsharehide.md +15 -0
  292. package/docs/api/player.share.onsharelinkclick.md +15 -0
  293. package/docs/api/player.share.onshareshow.md +15 -0
  294. package/docs/api/player.share.onsharetw.md +15 -0
  295. package/docs/api/player.share.render.md +15 -0
  296. package/docs/api/player.share.showshare.md +15 -0
  297. package/docs/api/player.share.supportedversion.md +13 -0
  298. package/docs/api/player.share.template.md +11 -0
  299. package/docs/api/player.share.unbindevents.md +15 -0
  300. package/docs/api/player.skiptime.attributes.md +14 -0
  301. package/docs/api/player.skiptime.bindevents.md +15 -0
  302. package/docs/api/player.skiptime.container.md +11 -0
  303. package/docs/api/player.skiptime.events.md +15 -0
  304. package/docs/api/player.skiptime.handlerewindclicks.md +15 -0
  305. package/docs/api/player.skiptime.md +255 -0
  306. package/docs/api/player.skiptime.name.md +11 -0
  307. package/docs/api/player.skiptime.render.md +15 -0
  308. package/docs/api/player.skiptime.setback.md +15 -0
  309. package/docs/api/player.skiptime.setforward.md +15 -0
  310. package/docs/api/player.skiptime.setmidclick.md +15 -0
  311. package/docs/api/player.skiptime.supportedversion.md +13 -0
  312. package/docs/api/player.skiptime.template.md +11 -0
  313. package/docs/api/player.skiptime.togglefullscreen.md +15 -0
  314. package/docs/api/player.sourcecontroller._constructor_.md +50 -0
  315. package/docs/api/player.sourcecontroller.md +156 -0
  316. package/docs/api/player.sourcecontroller.name.md +14 -0
  317. package/docs/api/player.sourcecontroller.supportedversion.md +16 -0
  318. package/docs/api/player.sourcecontroller.version.md +14 -0
  319. package/docs/api/player.spinnerthreebounce._constructor_.md +47 -0
  320. package/docs/api/player.spinnerthreebounce.attributes.md +14 -0
  321. package/docs/api/player.spinnerthreebounce.hide.md +15 -0
  322. package/docs/api/player.spinnerthreebounce.md +184 -0
  323. package/docs/api/player.spinnerthreebounce.name.md +11 -0
  324. package/docs/api/player.spinnerthreebounce.render.md +15 -0
  325. package/docs/api/player.spinnerthreebounce.show.md +51 -0
  326. package/docs/api/player.spinnerthreebounce.supportedversion.md +13 -0
  327. package/docs/api/player.statistics._constructor_.md +47 -0
  328. package/docs/api/player.statistics.bindevents.md +15 -0
  329. package/docs/api/player.statistics.md +141 -0
  330. package/docs/api/player.statistics.name.md +11 -0
  331. package/docs/api/player.statistics.supportedversion.md +13 -0
  332. package/docs/api/player.subtitles.attributes.md +14 -0
  333. package/docs/api/player.subtitles.bindevents.md +15 -0
  334. package/docs/api/player.subtitles.buttonelement.md +15 -0
  335. package/docs/api/player.subtitles.events.md +14 -0
  336. package/docs/api/player.subtitles.hide.md +15 -0
  337. package/docs/api/player.subtitles.levelelement.md +51 -0
  338. package/docs/api/player.subtitles.md +343 -0
  339. package/docs/api/player.subtitles.name.md +11 -0
  340. package/docs/api/player.subtitles.preselectedlanguage.md +11 -0
  341. package/docs/api/player.subtitles.reload.md +15 -0
  342. package/docs/api/player.subtitles.render.md +15 -0
  343. package/docs/api/player.subtitles.selectsubtitles.md +15 -0
  344. package/docs/api/player.subtitles.show.md +15 -0
  345. package/docs/api/player.subtitles.startlevelswitch.md +15 -0
  346. package/docs/api/player.subtitles.stoplevelswitch.md +15 -0
  347. package/docs/api/player.subtitles.supportedversion.md +13 -0
  348. package/docs/api/player.subtitles.template.md +11 -0
  349. package/docs/api/player.subtitles.templatestring.md +11 -0
  350. package/docs/api/player.subtitles.unbindevents.md +15 -0
  351. package/docs/api/player.subtitles.version.md +11 -0
  352. package/docs/api/player.thumbnails.attributes.md +13 -0
  353. package/docs/api/player.thumbnails.bindevents.md +15 -0
  354. package/docs/api/player.thumbnails.md +157 -0
  355. package/docs/api/player.thumbnails.name.md +11 -0
  356. package/docs/api/player.thumbnails.settext.md +49 -0
  357. package/docs/api/player.thumbnails.supportedversion.md +13 -0
  358. package/docs/api/player.thumbnails.template.md +11 -0
  359. package/docs/api/player.volumefade.bindevents.md +18 -0
  360. package/docs/api/player.volumefade.md +110 -0
  361. package/docs/api/player.volumefade.name.md +14 -0
  362. package/docs/api/player.volumefade.unbindevents.md +18 -0
  363. package/docs/api/player.volumefadeevents.md +45 -0
  364. package/docs/api/player.zeptoresult.md +15 -0
  365. package/lib/index.core.d.ts +1 -9
  366. package/lib/index.core.d.ts.map +1 -1
  367. package/lib/index.core.js +1 -9
  368. package/lib/index.d.ts +9 -0
  369. package/lib/index.d.ts.map +1 -1
  370. package/lib/index.js +9 -0
  371. package/lib/index.plugins.d.ts +0 -5
  372. package/lib/index.plugins.d.ts.map +1 -1
  373. package/lib/index.plugins.js +0 -5
  374. package/lib/internal.types.d.ts +1 -1
  375. package/lib/internal.types.d.ts.map +1 -1
  376. package/lib/plugins/audio-selector/AudioSelector.d.ts +3 -0
  377. package/lib/plugins/audio-selector/AudioSelector.d.ts.map +1 -1
  378. package/lib/plugins/audio-selector/AudioSelector.js +3 -0
  379. package/lib/plugins/big-mute-button/BigMuteButton.d.ts +4 -1
  380. package/lib/plugins/big-mute-button/BigMuteButton.d.ts.map +1 -1
  381. package/lib/plugins/big-mute-button/BigMuteButton.js +3 -0
  382. package/lib/plugins/bottom-gear/BottomGear.d.ts +3 -0
  383. package/lib/plugins/bottom-gear/BottomGear.d.ts.map +1 -1
  384. package/lib/plugins/bottom-gear/BottomGear.js +3 -0
  385. package/lib/plugins/clappr-nerd-stats/ClapprNerdStats.d.ts +3 -0
  386. package/lib/plugins/clappr-nerd-stats/ClapprNerdStats.d.ts.map +1 -1
  387. package/lib/plugins/clappr-nerd-stats/ClapprNerdStats.js +3 -0
  388. package/lib/plugins/clappr-stats/ClapprStats.d.ts +4 -1
  389. package/lib/plugins/clappr-stats/ClapprStats.d.ts.map +1 -1
  390. package/lib/plugins/clappr-stats/ClapprStats.js +3 -0
  391. package/lib/plugins/clips/Clips.d.ts +3 -0
  392. package/lib/plugins/clips/Clips.d.ts.map +1 -1
  393. package/lib/plugins/clips/Clips.js +22 -2
  394. package/lib/plugins/kibo/index.d.ts +3 -0
  395. package/lib/plugins/kibo/index.d.ts.map +1 -1
  396. package/lib/plugins/kibo/index.js +3 -0
  397. package/lib/plugins/level-selector/LevelSelector.d.ts +0 -3
  398. package/lib/plugins/level-selector/LevelSelector.d.ts.map +1 -1
  399. package/lib/plugins/level-selector/LevelSelector.js +2 -10
  400. package/lib/plugins/media-control/MediaControl.d.ts +95 -54
  401. package/lib/plugins/media-control/MediaControl.d.ts.map +1 -1
  402. package/lib/plugins/media-control/MediaControl.js +60 -37
  403. package/lib/plugins/source-controller/SourceController.js +1 -1
  404. package/lib/plugins/spinner-three-bounce/SpinnerThreeBounce.js +1 -1
  405. package/lib/plugins/subtitles/Subtitles.d.ts +1 -1
  406. package/lib/plugins/subtitles/Subtitles.d.ts.map +1 -1
  407. package/lib/plugins/thumbnails/Thumbnails.d.ts +1 -1
  408. package/lib/plugins/thumbnails/Thumbnails.d.ts.map +1 -1
  409. package/lib/plugins/vast-ads/roll.d.ts +1 -1
  410. package/lib/plugins/vast-ads/roll.d.ts.map +1 -1
  411. package/lib/plugins/vast-ads/rollmanager.d.ts +1 -1
  412. package/lib/plugins/vast-ads/rollmanager.d.ts.map +1 -1
  413. package/lib/plugins/volume-fade/VolumeFade.d.ts +3 -0
  414. package/lib/plugins/volume-fade/VolumeFade.d.ts.map +1 -1
  415. package/lib/plugins/volume-fade/VolumeFade.js +3 -0
  416. package/lib/tsdoc-metadata.json +11 -0
  417. package/lib/types.d.ts.map +1 -1
  418. package/lib/utils/types.d.ts +6 -0
  419. package/lib/utils/types.d.ts.map +1 -1
  420. package/package.json +1 -1
  421. package/src/index.core.ts +1 -10
  422. package/src/index.plugins.ts +0 -6
  423. package/src/index.ts +9 -0
  424. package/src/internal.types.ts +1 -1
  425. package/src/plugins/audio-selector/AudioSelector.ts +4 -1
  426. package/src/plugins/big-mute-button/BigMuteButton.ts +5 -2
  427. package/src/plugins/bottom-gear/BottomGear.ts +3 -0
  428. package/src/plugins/clappr-nerd-stats/ClapprNerdStats.ts +4 -1
  429. package/src/plugins/clappr-nerd-stats/speedtest/Speedtest.ts +1 -1
  430. package/src/plugins/clappr-stats/ClapprStats.ts +5 -2
  431. package/src/plugins/clips/Clips.ts +29 -3
  432. package/src/plugins/error-screen/ErrorScreen.ts +1 -1
  433. package/src/plugins/favicon/Favicon.ts +1 -1
  434. package/src/plugins/kibo/index.ts +3 -0
  435. package/src/plugins/level-selector/LevelSelector.ts +5 -15
  436. package/src/plugins/level-selector/__tests__/LevelSelector.test.ts +185 -37
  437. package/src/plugins/level-selector/__tests__/__snapshots__/LevelSelector.test.ts.snap +187 -1
  438. package/src/plugins/logo/Logo.ts +1 -1
  439. package/src/plugins/media-control/MediaControl.ts +114 -94
  440. package/src/plugins/multi-camera/MultiCamera.ts +1 -1
  441. package/src/plugins/playback-rate/PlaybackRate.ts +1 -1
  442. package/src/plugins/poster/Poster.ts +2 -2
  443. package/src/plugins/seek-time/SeekTime.ts +2 -2
  444. package/src/plugins/source-controller/SourceController.ts +1 -1
  445. package/src/plugins/source-controller/__tests__/SourceController.test.ts +2 -1
  446. package/src/plugins/spinner-three-bounce/SpinnerThreeBounce.ts +2 -2
  447. package/src/plugins/statistics/Statistics.ts +1 -1
  448. package/src/plugins/subtitles/Subtitles.ts +2 -2
  449. package/src/plugins/thumbnails/Thumbnails.ts +2 -2
  450. package/src/plugins/vast-ads/VastAds.ts +2 -2
  451. package/src/plugins/vast-ads/roll.ts +1 -1
  452. package/src/plugins/vast-ads/rollmanager.ts +1 -1
  453. package/src/plugins/volume-fade/VolumeFade.ts +4 -1
  454. package/src/types.ts +0 -2
  455. package/src/typings/vitest.d.ts +11 -0
  456. package/src/utils/types.ts +6 -0
  457. package/temp/player.api.json +12689 -1324
  458. package/tsconfig.tsbuildinfo +1 -1
  459. package/vitest.config.ts +9 -0
  460. package/src/plugins/types.ts +0 -7
package/dist/index.js CHANGED
@@ -42865,7 +42865,7 @@ class Player {
42865
42865
  }
42866
42866
  }
42867
42867
 
42868
- var version$1 = "2.19.6";
42868
+ var version$1 = "2.19.8";
42869
42869
 
42870
42870
  var packages = {
42871
42871
  "node_modules/@clappr/core": {
@@ -42898,6 +42898,9 @@ const audioArrow = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"9px
42898
42898
  const VERSION$6 = '0.0.1';
42899
42899
  // const T = 'plugins.audio_selector';
42900
42900
  const AUTO = 0;
42901
+ /**
42902
+ * @beta
42903
+ */
42901
42904
  class AudioSelector extends UICorePlugin {
42902
42905
  selectedTrackId;
42903
42906
  currentTrack = null;
@@ -43171,6 +43174,9 @@ const volumeOffIcon = "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fil
43171
43174
  const pluginHtml$7 = "<div class=\"big-mute-icon-wrapper\" data-big-mute>\n <div class=\"big-mute-icon gcore-skin-border-color\" data-big-mute-icon></div>\n</div>\n";
43172
43175
 
43173
43176
  const T$9 = "plugins.big_mute_button";
43177
+ /**
43178
+ * @beta
43179
+ */
43174
43180
  class BigMuteButton extends UICorePlugin {
43175
43181
  isBigMuteButtonHidden = false;
43176
43182
  _adIsPlaying = false;
@@ -43315,6 +43321,9 @@ const gearIcon = "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"n
43315
43321
  const gearHdIcon = "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <g clip-path=\"url(#clip0_28_1567)\">\n <path\n d=\"M19.14 12.94C19.18 12.64 19.2 12.33 19.2 12C19.2 11.68 19.18 11.36 19.13 11.06L21.16 9.47999C21.34 9.33999 21.39 9.06999 21.28 8.86999L19.36 5.54999C19.24 5.32999 18.99 5.25999 18.77 5.32999L16.38 6.28999C15.88 5.90999 15.35 5.58999 14.76 5.34999L14.4 2.80999C14.36 2.56999 14.16 2.39999 13.92 2.39999H10.08C9.83999 2.39999 9.64999 2.56999 9.60999 2.80999L9.24999 5.34999C8.65999 5.58999 8.11999 5.91999 7.62999 6.28999L5.23999 5.32999C5.01999 5.24999 4.76999 5.32999 4.64999 5.54999L2.73999 8.86999C2.61999 9.07999 2.65999 9.33999 2.85999 9.47999L4.88999 11.06C4.83999 11.36 4.79999 11.69 4.79999 12C4.79999 12.31 4.81999 12.64 4.86999 12.94L2.83999 14.52C2.65999 14.66 2.60999 14.93 2.71999 15.13L4.63999 18.45C4.75999 18.67 5.00999 18.74 5.22999 18.67L7.61999 17.71C8.11999 18.09 8.64999 18.41 9.23999 18.65L9.59999 21.19C9.64999 21.43 9.83999 21.6 10.08 21.6H13.92C14.16 21.6 14.36 21.43 14.39 21.19L14.75 18.65C15.34 18.41 15.88 18.09 16.37 17.71L18.76 18.67C18.98 18.75 19.23 18.67 19.35 18.45L21.27 15.13C21.39 14.91 21.34 14.66 21.15 14.52L19.14 12.94ZM12 15.6C10.02 15.6 8.39999 13.98 8.39999 12C8.39999 10.02 10.02 8.39999 12 8.39999C13.98 8.39999 15.6 10.02 15.6 12C15.6 13.98 13.98 15.6 12 15.6Z\"\n fill=\"#C9C9C9\"/>\n <rect x=\"13\" width=\"11\" height=\"7\" rx=\"1\" fill=\"#F6413B\"/>\n <path\n d=\"M14.6962 6V1.63636H15.3546V3.53267H17.53V1.63636H18.1905V6H17.53V4.0973H15.3546V6H14.6962ZM20.562 6H19.1493V1.63636H20.6067C21.0343 1.63636 21.4015 1.72372 21.7083 1.89844C22.0151 2.07173 22.2502 2.32102 22.4135 2.64631C22.5783 2.97017 22.6607 3.35866 22.6607 3.81179C22.6607 4.26634 22.5776 4.65696 22.4114 4.98366C22.2466 5.31037 22.008 5.56179 21.6955 5.73793C21.383 5.91264 21.0051 6 20.562 6ZM19.8077 5.42472H20.5257C20.8581 5.42472 21.1344 5.36222 21.3546 5.23722C21.5748 5.1108 21.7395 4.92827 21.8489 4.68963C21.9583 4.44957 22.013 4.15696 22.013 3.81179C22.013 3.46946 21.9583 3.17898 21.8489 2.94034C21.7409 2.7017 21.5797 2.5206 21.3652 2.39702C21.1507 2.27344 20.8844 2.21165 20.5662 2.21165H19.8077V5.42472Z\"\n fill=\"#C9C9C9\"/>\n </g>\n <defs>\n <clipPath id=\"clip0_28_1567\">\n <rect width=\"24\" height=\"24\" fill=\"white\"/>\n </clipPath>\n </defs>\n</svg>\n";
43316
43322
 
43317
43323
  const VERSION$5 = '0.0.1';
43324
+ /**
43325
+ * @beta
43326
+ */
43318
43327
  class BottomGear extends UICorePlugin {
43319
43328
  isHd = false;
43320
43329
  get name() {
@@ -45544,6 +45553,9 @@ const drawSummary = (customMetrics, vodContainer, liveContainer) => {
45544
45553
  liveContainer.html(liveHtml);
45545
45554
  };
45546
45555
  // const T = 'plugins.clappr_nerd_stats';
45556
+ /**
45557
+ * @beta
45558
+ */
45547
45559
  class ClapprNerdStats extends UICorePlugin {
45548
45560
  container = null;
45549
45561
  customMetrics = {
@@ -45761,6 +45773,9 @@ function newMetrics() {
45761
45773
 
45762
45774
  // TODO: fix
45763
45775
  const updateMetrics = () => { };
45776
+ /**
45777
+ * @beta
45778
+ */
45764
45779
  class ClapprStats extends ContainerPlugin {
45765
45780
  bwMeasureCount = 0;
45766
45781
  intervalId = null;
@@ -46223,6 +46238,7 @@ class ClipsPlugin extends UICorePlugin {
46223
46238
  duration = 0;
46224
46239
  durationGetting = false;
46225
46240
  _oldContainer;
46241
+ svgMask = null;
46226
46242
  get name() {
46227
46243
  return 'clips';
46228
46244
  }
@@ -46274,7 +46290,7 @@ class ClipsPlugin extends UICorePlugin {
46274
46290
  }
46275
46291
  for (const value of this.clips.values()) {
46276
46292
  if (event.current >= value.start && event.current < value.end) {
46277
- this.core.mediaControl.setClipText(value.text);
46293
+ this.setClipText(value.text);
46278
46294
  break;
46279
46295
  }
46280
46296
  }
@@ -46321,7 +46337,26 @@ class ClipsPlugin extends UICorePlugin {
46321
46337
  });
46322
46338
  svg += `<rect x="${finishValue}" y="0" width="${widthOfSeek - finishValue}" height="30"/>\n`;
46323
46339
  svg += '</clipPath>' + '</defs>' + '</svg>';
46340
+ this.setSVGMask(svg);
46341
+ }
46342
+ setSVGMask(svg) {
46324
46343
  this.core.mediaControl.setSVGMask(svg);
46344
+ if (this.svgMask) {
46345
+ this.svgMask.remove();
46346
+ }
46347
+ const $seekBarContainer = this.core.mediaControl.getElement('seekBarContainer');
46348
+ if ($seekBarContainer?.get(0)) {
46349
+ $seekBarContainer.addClass('clips');
46350
+ }
46351
+ this.svgMask = $(svg);
46352
+ $seekBarContainer?.append(this.svgMask);
46353
+ }
46354
+ setClipText(text) {
46355
+ const $clipText = this.core.mediaControl.getElement('clipText');
46356
+ if ($clipText && text) {
46357
+ $clipText.show();
46358
+ $clipText.text(`${text}`);
46359
+ }
46325
46360
  }
46326
46361
  }
46327
46362
 
@@ -47004,6 +47039,9 @@ class GoogleAnalytics extends ContainerPlugin {
47004
47039
  /* eslint-disable */
47005
47040
  // Kibo is released under the MIT License. Copyright (c) 2013 marquete.
47006
47041
  // see https://github.com/marquete/kibo
47042
+ /**
47043
+ * @internal
47044
+ */
47007
47045
  class Kibo {
47008
47046
  element;
47009
47047
  lastKeyCode = -1;
@@ -47222,7 +47260,6 @@ const VERSION$4 = '2.19.4';
47222
47260
  *
47223
47261
  * - `labels`: The labels to show in the level selector. [vertical resolution]: string
47224
47262
  * - `restrictResolution`: The maximum resolution to allow in the level selector.
47225
- * - `title`: The title to show in the level selector.
47226
47263
  *
47227
47264
  * @example
47228
47265
  * ```ts
@@ -47356,7 +47393,7 @@ class LevelSelector extends UICorePlugin {
47356
47393
  get maxLevel() {
47357
47394
  const maxRes = this.core.options.levelSelector?.restrictResolution;
47358
47395
  return maxRes
47359
- ? this.levels.findIndex((level) => level.height === maxRes)
47396
+ ? this.levels.findIndex((level) => (level.height > level.width ? level.width : level.height) === maxRes)
47360
47397
  : -1;
47361
47398
  }
47362
47399
  fillLevels(levels) {
@@ -47365,9 +47402,8 @@ class LevelSelector extends UICorePlugin {
47365
47402
  this.makeLevelsLabels();
47366
47403
  if (maxResolution) {
47367
47404
  this.removeAuto = true;
47368
- // TODO account for vertical resolutions, i.e, normalize the resolution to the width
47369
47405
  const initialLevel = levels
47370
- .filter((level) => level.height <= maxResolution)
47406
+ .filter((level) => (level.width > level.height ? level.height : level.width) <= maxResolution)
47371
47407
  .pop();
47372
47408
  this.setLevel(initialLevel?.level ?? 0);
47373
47409
  }
@@ -47383,9 +47419,6 @@ class LevelSelector extends UICorePlugin {
47383
47419
  this.levelLabels.push(label);
47384
47420
  }
47385
47421
  }
47386
- findLevelBy(id) {
47387
- return this.levels.find((level) => level.level === id);
47388
- }
47389
47422
  onLevelSelect(event) {
47390
47423
  const selectedLevel = parseInt(event.currentTarget?.dataset?.id ?? '-1', 10);
47391
47424
  this.setLevel(selectedLevel);
@@ -47428,9 +47461,6 @@ class LevelSelector extends UICorePlugin {
47428
47461
  levelElement(id = -1) {
47429
47462
  return this.$(`ul.gear-sub-menu a[data-id="${id}"]`).parent();
47430
47463
  }
47431
- getTitle() {
47432
- return (this.core.options.levelSelector || {}).title;
47433
- }
47434
47464
  onLevelSwitchStart() {
47435
47465
  this.core.activePlayback.trigger('playback:level:select:start');
47436
47466
  this.levelElement(this.selectedLevelId).addClass('changing');
@@ -47708,9 +47738,14 @@ const fullscreenOnIcon = "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"
47708
47738
  // Copyright 2014 Globo.com Player authors. All rights reserved.
47709
47739
  // Use of this source code is governed by a BSD-style
47710
47740
  // license that can be found in the LICENSE file.
47711
- /**
47712
- * The MediaControl is responsible for displaying the Player controls.
47713
- */
47741
+ const LEFT_ORDER = [
47742
+ 'playpause',
47743
+ 'playstop',
47744
+ 'live',
47745
+ 'volume',
47746
+ 'position',
47747
+ 'duration',
47748
+ ];
47714
47749
  const { Config, Fullscreen, formatTime: formatTime$1, extend, removeArrayItem } = Utils;
47715
47750
  function orderByOrderPattern(arr, order) {
47716
47751
  const arrWithoutDuplicates = [...new Set(arr)];
@@ -47718,6 +47753,13 @@ function orderByOrderPattern(arr, order) {
47718
47753
  const rest = arrWithoutDuplicates.filter((item) => !order.includes(item));
47719
47754
  return [...ordered, ...rest];
47720
47755
  }
47756
+ /**
47757
+ * The MediaControl is responsible for displaying the Player controls.
47758
+ * @beta
47759
+ * @remarks
47760
+ * This plugin provides a foundation for developing a media controls UI via additional plugins.
47761
+ * The methods exposed are to be used by the other plugins that extend the media control UI.
47762
+ */
47721
47763
  class MediaControl extends UICorePlugin {
47722
47764
  advertisementPlaying = false;
47723
47765
  buttonsColor = null;
@@ -47770,6 +47812,7 @@ class MediaControl extends UICorePlugin {
47770
47812
  $volumeBarScrubber = null;
47771
47813
  $volumeContainer = null;
47772
47814
  $volumeIcon = null;
47815
+ template = tmpl(mediaControlHTML);
47773
47816
  get name() {
47774
47817
  return 'media_control';
47775
47818
  }
@@ -47821,14 +47864,17 @@ class MediaControl extends UICorePlugin {
47821
47864
  'mouseleave .media-control-layer[data-controls]': 'resetUserKeepVisible',
47822
47865
  };
47823
47866
  }
47824
- get template() {
47825
- return tmpl(mediaControlHTML);
47826
- }
47867
+ /**
47868
+ * Current volume
47869
+ */
47827
47870
  get volume() {
47828
47871
  return this.container && this.container.isReady
47829
47872
  ? this.container.volume
47830
47873
  : this.intendedVolume;
47831
47874
  }
47875
+ /**
47876
+ * Muted state
47877
+ */
47832
47878
  get muted() {
47833
47879
  return this.volume === 0;
47834
47880
  }
@@ -47923,15 +47969,27 @@ class MediaControl extends UICorePlugin {
47923
47969
  this.bindKeyEvents();
47924
47970
  this.show();
47925
47971
  }
47972
+ /**
47973
+ * Start the playback
47974
+ */
47926
47975
  play() {
47927
47976
  this.container && this.container.play();
47928
47977
  }
47978
+ /**
47979
+ * Pause the playback
47980
+ */
47929
47981
  pause() {
47930
47982
  this.container && this.container.pause();
47931
47983
  }
47984
+ /**
47985
+ * Stop the playback
47986
+ */
47932
47987
  stop() {
47933
47988
  this.container && this.container.stop();
47934
47989
  }
47990
+ /**
47991
+ * Set the initial volume, which is preserved when playback is interrupted by an advertisement
47992
+ */
47935
47993
  setInitialVolume() {
47936
47994
  const initialVolume = this.persistConfig ? Config.restore('volume') : 100;
47937
47995
  const options = (this.container && this.container.options) || this.options;
@@ -48131,6 +48189,13 @@ class MediaControl extends UICorePlugin {
48131
48189
  toggleMute() {
48132
48190
  this.setVolume(this.muted ? 100 : 0);
48133
48191
  }
48192
+ /**
48193
+ * Set the volume
48194
+ * @param value - The volume value
48195
+ * @param isInitialVolume - save as the initial volume
48196
+ * @remarks
48197
+ * Initial volume can be restored later
48198
+ */
48134
48199
  setVolume(value, isInitialVolume = false) {
48135
48200
  value = Math.min(100, Math.max(value, 0));
48136
48201
  // this will hold the intended volume
@@ -48351,14 +48416,6 @@ class MediaControl extends UICorePlugin {
48351
48416
  default: [],
48352
48417
  right: [],
48353
48418
  });
48354
- const LEFT_ORDER = [
48355
- 'playpause',
48356
- 'playstop',
48357
- 'live',
48358
- 'volume',
48359
- 'position',
48360
- 'duration',
48361
- ];
48362
48419
  newSettings.left = orderByOrderPattern([...newSettings.left, 'clipsText', 'volume'], LEFT_ORDER);
48363
48420
  newSettings.right = [
48364
48421
  'fullscreen',
@@ -48425,12 +48482,20 @@ class MediaControl extends UICorePlugin {
48425
48482
  this.resetIndicators();
48426
48483
  this.initializeIcons();
48427
48484
  }
48485
+ /**
48486
+ * Get a media control element DOM node
48487
+ * @param name - The name of the media control element
48488
+ * @returns The DOM node to render the media control element
48489
+ */
48428
48490
  getElement(name) {
48429
48491
  switch (name) {
48492
+ case 'clipText':
48493
+ return this.$clipText;
48430
48494
  case 'pip':
48431
48495
  return this.$pip;
48496
+ case 'seekBarContainer':
48497
+ return this.$seekBarContainer;
48432
48498
  }
48433
- return null;
48434
48499
  }
48435
48500
  resetIndicators() {
48436
48501
  assert.ok(this.$duration && this.$position, 'duration and position elements must be present');
@@ -48629,9 +48694,6 @@ class MediaControl extends UICorePlugin {
48629
48694
  this.trigger(Events$1.MEDIACONTROL_RENDERED);
48630
48695
  return this;
48631
48696
  }
48632
- get bigPlayButton() {
48633
- return playIcon;
48634
- }
48635
48697
  handleFullScreenOnBtn() {
48636
48698
  this.trigger(Events$1.MEDIACONTROL_FULLSCREEN, this.name);
48637
48699
  this.container.fullscreen();
@@ -48649,37 +48711,24 @@ class MediaControl extends UICorePlugin {
48649
48711
  }
48650
48712
  this.resetUserKeepVisible();
48651
48713
  }
48714
+ // TODO manage by the ads plugin
48652
48715
  onStartAd() {
48653
48716
  this.advertisementPlaying = true;
48654
48717
  this.disable();
48655
48718
  }
48719
+ // TODO manage by the ads plugin
48656
48720
  onFinishAd() {
48657
48721
  this.advertisementPlaying = false;
48658
48722
  this.enable();
48659
48723
  }
48660
- setClipText(txt) {
48661
- if (this.$clipText && txt) {
48662
- this.$clipTextContainer?.show();
48663
- this.$clipText.text(`${txt}`);
48664
- }
48665
- }
48724
+ // TODO remove
48666
48725
  hideControllAds() {
48667
48726
  if (this.container.advertisement &&
48668
48727
  this.container.advertisement.type !== 'idle') {
48669
48728
  this.hide();
48670
48729
  }
48671
48730
  }
48672
- setSVGMask(svg) {
48673
- if (this.svgMask) {
48674
- this.svgMask.remove();
48675
- }
48676
- if (this.$seekBarContainer?.get(0)) {
48677
- this.$seekBarContainer.addClass('clips');
48678
- }
48679
- this.svgMask = $(svg);
48680
- this.$seekBarContainer?.append(this.svgMask);
48681
- }
48682
- // https://bugs.chromium.org/p/chromium/issues/detail?id=109212
48731
+ // TODO
48683
48732
  setMuted(value) {
48684
48733
  this.container.options.mute = value;
48685
48734
  }
@@ -48695,13 +48744,17 @@ class MediaControl extends UICorePlugin {
48695
48744
  }
48696
48745
  return 0;
48697
48746
  }
48698
- //Решают проблему, когда нам не нужно, чтобы с помощью контролов человек мог запускать
48699
- // или останавливать поток, контролы, которыми он управляет не должны работать
48747
+ /**
48748
+ * Enable the control button
48749
+ */
48700
48750
  enableControlButton() {
48701
48751
  this.disabledClickableList.forEach((element) => {
48702
48752
  element.el.css({ 'pointer-events': element.pointerEventValue });
48703
48753
  });
48704
48754
  }
48755
+ /**
48756
+ * Disable the control button
48757
+ */
48705
48758
  disabledControlButton() {
48706
48759
  this.disabledClickableList.forEach((element) => {
48707
48760
  element.el.css({ 'pointer-events': 'none' });
@@ -51247,6 +51300,9 @@ var VolumeFadeEvents;
51247
51300
  (function (VolumeFadeEvents) {
51248
51301
  VolumeFadeEvents["FADE"] = "core:volume:fade";
51249
51302
  })(VolumeFadeEvents || (VolumeFadeEvents = {}));
51303
+ /**
51304
+ * @beta
51305
+ */
51250
51306
  class VolumeFade extends UICorePlugin {
51251
51307
  _aboveBorderVolume = 0;
51252
51308
  container = null;