bitmovin-player-ui 3.103.0 → 3.103.1

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 (1200) hide show
  1. package/.github/ISSUE_TEMPLATE/config.yml +11 -0
  2. package/.github/PULL_REQUEST_TEMPLATE.md +7 -0
  3. package/.github/actions/setup-dependencies/action.yml +15 -0
  4. package/.github/scripts/calculateVersionNumber.js +61 -0
  5. package/.github/scripts/defineVersion.js +29 -0
  6. package/.github/scripts/detectReleaseLevel.js +46 -0
  7. package/.github/scripts/notifySlackTeam.js +106 -0
  8. package/.github/scripts/updateChangelog.js +24 -0
  9. package/.github/workflows/ci.yml +55 -0
  10. package/.github/workflows/release.yml +238 -0
  11. package/.github/workflows/tag-release-version.yml +100 -0
  12. package/.husky/pre-commit +2 -0
  13. package/CHANGELOG.md +3 -372
  14. package/CONTRIBUTING.md +55 -50
  15. package/README.md +18 -19
  16. package/assets/skin-modern/images/airplay.svg +21 -0
  17. package/assets/skin-modern/images/airplayX.svg +27 -0
  18. package/assets/skin-modern/images/audio-tracks.svg +1 -0
  19. package/assets/skin-modern/images/audio-tracksX.svg +1 -0
  20. package/assets/skin-modern/images/chromecast.svg +20 -0
  21. package/assets/skin-modern/images/chromecastX.svg +23 -0
  22. package/assets/skin-modern/images/close.svg +20 -0
  23. package/assets/skin-modern/images/closeX.svg +20 -0
  24. package/assets/skin-modern/images/dot-play.svg +20 -0
  25. package/assets/skin-modern/images/dot-volume.svg +17 -0
  26. package/assets/skin-modern/images/fullscreen.svg +28 -0
  27. package/assets/skin-modern/images/fullscreenX.svg +34 -0
  28. package/assets/skin-modern/images/glasses.svg +31 -0
  29. package/assets/skin-modern/images/glassesX.svg +23 -0
  30. package/assets/skin-modern/images/leaf.svg +3 -0
  31. package/assets/skin-modern/images/loader.svg +19 -0
  32. package/assets/skin-modern/images/logo.svg +15 -0
  33. package/assets/skin-modern/images/music-low.svg +25 -0
  34. package/assets/skin-modern/images/music-lowX.svg +27 -0
  35. package/assets/skin-modern/images/music-off.svg +33 -0
  36. package/assets/skin-modern/images/music-offX.svg +35 -0
  37. package/assets/skin-modern/images/music-on.svg +30 -0
  38. package/assets/skin-modern/images/music-onX.svg +32 -0
  39. package/assets/skin-modern/images/next.svg +21 -0
  40. package/assets/skin-modern/images/nextX.svg +24 -0
  41. package/assets/skin-modern/images/pause.svg +20 -0
  42. package/assets/skin-modern/images/pauseX.svg +23 -0
  43. package/assets/skin-modern/images/picinpic1.svg +21 -0
  44. package/assets/skin-modern/images/picinpic1X.svg +27 -0
  45. package/assets/skin-modern/images/picinpic2.svg +21 -0
  46. package/assets/skin-modern/images/picinpic2X.svg +27 -0
  47. package/assets/skin-modern/images/play.svg +15 -0
  48. package/assets/skin-modern/images/playX.svg +17 -0
  49. package/assets/skin-modern/images/play_big.svg +18 -0
  50. package/assets/skin-modern/images/play_bigX.svg +19 -0
  51. package/assets/skin-modern/images/playlist.svg +20 -0
  52. package/assets/skin-modern/images/playlistX.svg +27 -0
  53. package/assets/skin-modern/images/prev.svg +21 -0
  54. package/assets/skin-modern/images/prevX.svg +24 -0
  55. package/assets/skin-modern/images/quickseek-fastforward.svg +2 -0
  56. package/assets/skin-modern/images/quickseek-rewind.svg +2 -0
  57. package/assets/skin-modern/images/replay-nocircle.svg +12 -0
  58. package/assets/skin-modern/images/replay.svg +23 -0
  59. package/assets/skin-modern/images/replayX.svg +24 -0
  60. package/assets/skin-modern/images/settings.svg +30 -0
  61. package/assets/skin-modern/images/settingsX.svg +40 -0
  62. package/assets/skin-modern/images/stop.svg +14 -0
  63. package/assets/skin-modern/images/stopX.svg +16 -0
  64. package/assets/skin-modern/images/subtitles.svg +1 -0
  65. package/assets/skin-modern/images/subtitlesX.svg +1 -0
  66. package/assets/skin-modern/images/toggleOff.svg +17 -0
  67. package/assets/skin-modern/images/toggleOn.svg +17 -0
  68. package/dist/css/bitmovinplayer-ui.css +2756 -2
  69. package/dist/css/bitmovinplayer-ui.min.css +2 -0
  70. package/dist/css/demo.css +7 -2
  71. package/dist/css/demo.min.css +1 -0
  72. package/dist/index.html +717 -906
  73. package/dist/js/bitmovinplayer-ui.js +15412 -2
  74. package/dist/js/bitmovinplayer-ui.min.js +2 -0
  75. package/dist/js/bitmovinplayer-ui.min.js.map +1 -0
  76. package/dist/js/framework/arrayutils.js +25 -0
  77. package/dist/js/framework/audiotrackutils.d.ts +22 -0
  78. package/dist/js/framework/audiotrackutils.js +69 -0
  79. package/dist/js/framework/browserutils.d.ts +21 -0
  80. package/dist/js/framework/browserutils.js +122 -0
  81. package/dist/js/framework/components/adclickoverlay.d.ts +12 -0
  82. package/dist/js/framework/components/adclickoverlay.js +61 -0
  83. package/dist/js/framework/components/admessagelabel.d.ts +12 -0
  84. package/dist/js/framework/components/admessagelabel.js +62 -0
  85. package/dist/js/framework/components/adskipbutton.d.ts +29 -0
  86. package/dist/js/framework/components/adskipbutton.js +87 -0
  87. package/dist/js/framework/components/airplaytogglebutton.d.ts +12 -0
  88. package/dist/js/framework/components/airplaytogglebutton.js +79 -0
  89. package/dist/js/framework/components/audioqualityselectbox.d.ts +13 -0
  90. package/dist/js/framework/components/audioqualityselectbox.js +76 -0
  91. package/dist/js/framework/components/audiotracklistbox.d.ts +11 -0
  92. package/dist/js/framework/components/audiotracklistbox.js +37 -0
  93. package/dist/js/framework/components/audiotrackselectbox.d.ts +13 -0
  94. package/dist/js/framework/components/audiotrackselectbox.js +42 -0
  95. package/dist/js/framework/components/bufferingoverlay.d.ts +26 -0
  96. package/dist/js/framework/components/bufferingoverlay.js +76 -0
  97. package/dist/js/framework/components/button.d.ts +46 -0
  98. package/dist/js/framework/components/button.js +88 -0
  99. package/dist/js/framework/components/caststatusoverlay.d.ts +13 -0
  100. package/dist/js/framework/components/caststatusoverlay.js +64 -0
  101. package/dist/js/framework/components/casttogglebutton.d.ts +12 -0
  102. package/dist/js/framework/components/casttogglebutton.js +83 -0
  103. package/dist/js/framework/components/castuicontainer.d.ts +15 -0
  104. package/dist/js/framework/components/castuicontainer.js +85 -0
  105. package/dist/js/framework/components/clickoverlay.d.ts +27 -0
  106. package/dist/js/framework/components/clickoverlay.js +61 -0
  107. package/dist/js/framework/components/closebutton.d.ts +24 -0
  108. package/dist/js/framework/components/closebutton.js +45 -0
  109. package/dist/js/framework/components/component.d.ts +371 -0
  110. package/dist/js/framework/components/component.js +463 -0
  111. package/dist/js/framework/components/container.d.ts +72 -0
  112. package/dist/js/framework/components/container.js +158 -0
  113. package/dist/js/framework/components/controlbar.d.ts +20 -0
  114. package/dist/js/framework/components/controlbar.js +96 -0
  115. package/dist/js/framework/components/ecomodecontainer.d.ts +23 -0
  116. package/dist/js/framework/components/ecomodecontainer.js +112 -0
  117. package/dist/js/framework/components/ecomodetogglebutton.d.ts +14 -0
  118. package/dist/js/framework/components/ecomodetogglebutton.js +96 -0
  119. package/dist/js/framework/components/errormessageoverlay.d.ts +86 -0
  120. package/dist/js/framework/components/errormessageoverlay.js +107 -0
  121. package/dist/js/framework/components/fullscreentogglebutton.d.ts +12 -0
  122. package/dist/js/framework/components/fullscreentogglebutton.js +73 -0
  123. package/dist/js/framework/components/hugeplaybacktogglebutton.d.ts +20 -0
  124. package/dist/js/framework/components/hugeplaybacktogglebutton.js +186 -0
  125. package/dist/js/framework/components/hugereplaybutton.d.ts +14 -0
  126. package/dist/js/framework/components/hugereplaybutton.js +57 -0
  127. package/dist/js/framework/components/itemselectionlist.d.ts +16 -0
  128. package/dist/js/framework/components/itemselectionlist.js +114 -0
  129. package/dist/js/framework/components/label.d.ts +76 -0
  130. package/dist/js/framework/components/label.js +135 -0
  131. package/dist/js/framework/components/listbox.d.ts +31 -0
  132. package/dist/js/framework/components/listbox.js +149 -0
  133. package/dist/js/framework/components/listselector.d.ts +134 -0
  134. package/dist/js/framework/components/listselector.js +240 -0
  135. package/dist/js/framework/components/metadatalabel.d.ts +36 -0
  136. package/dist/js/framework/components/metadatalabel.js +74 -0
  137. package/dist/js/framework/components/pictureinpicturetogglebutton.d.ts +12 -0
  138. package/dist/js/framework/components/pictureinpicturetogglebutton.js +73 -0
  139. package/dist/js/framework/components/playbackspeedselectbox.d.ts +17 -0
  140. package/dist/js/framework/components/playbackspeedselectbox.js +79 -0
  141. package/dist/js/framework/components/playbacktimelabel.d.ts +58 -0
  142. package/dist/js/framework/components/playbacktimelabel.js +191 -0
  143. package/dist/js/framework/components/playbacktogglebutton.d.ts +25 -0
  144. package/dist/js/framework/components/playbacktogglebutton.js +139 -0
  145. package/dist/js/framework/components/playbacktoggleoverlay.d.ts +21 -0
  146. package/dist/js/framework/components/playbacktoggleoverlay.js +42 -0
  147. package/dist/js/framework/components/quickseekbutton.d.ts +27 -0
  148. package/dist/js/framework/components/quickseekbutton.js +120 -0
  149. package/dist/js/framework/components/recommendationoverlay.d.ts +13 -0
  150. package/dist/js/framework/components/recommendationoverlay.js +130 -0
  151. package/dist/js/framework/components/replaybutton.d.ts +12 -0
  152. package/dist/js/framework/components/replaybutton.js +67 -0
  153. package/dist/js/framework/components/seekbar.d.ts +242 -0
  154. package/dist/js/framework/components/seekbar.js +930 -0
  155. package/dist/js/framework/components/seekbarbufferlevel.js +18 -0
  156. package/dist/js/framework/components/seekbarcontroller.d.ts +43 -0
  157. package/dist/js/framework/components/seekbarcontroller.js +102 -0
  158. package/dist/js/framework/components/seekbarlabel.d.ts +54 -0
  159. package/dist/js/framework/components/seekbarlabel.js +225 -0
  160. package/dist/js/framework/components/selectbox.d.ts +40 -0
  161. package/dist/js/framework/components/selectbox.js +202 -0
  162. package/dist/js/framework/components/settingspanel.d.ts +124 -0
  163. package/dist/js/framework/components/settingspanel.js +339 -0
  164. package/dist/js/framework/components/settingspanelitem.d.ts +32 -0
  165. package/dist/js/framework/components/settingspanelitem.js +123 -0
  166. package/dist/js/framework/components/settingspanelpage.d.ts +24 -0
  167. package/dist/js/framework/components/settingspanelpage.js +116 -0
  168. package/dist/js/framework/components/settingspanelpagebackbutton.d.ts +10 -0
  169. package/dist/js/framework/components/settingspanelpagebackbutton.js +42 -0
  170. package/dist/js/framework/components/settingspanelpagenavigatorbutton.d.ts +51 -0
  171. package/dist/js/framework/components/settingspanelpagenavigatorbutton.js +58 -0
  172. package/dist/js/framework/components/settingspanelpageopenbutton.d.ts +10 -0
  173. package/dist/js/framework/components/settingspanelpageopenbutton.js +46 -0
  174. package/dist/js/framework/components/settingstogglebutton.d.ts +30 -0
  175. package/dist/js/framework/components/settingstogglebutton.js +107 -0
  176. package/dist/js/framework/components/spacer.d.ts +12 -0
  177. package/dist/js/framework/components/spacer.js +46 -0
  178. package/dist/js/framework/components/subtitlelistbox.d.ts +11 -0
  179. package/dist/js/framework/components/subtitlelistbox.js +37 -0
  180. package/dist/js/framework/components/subtitleoverlay.d.ts +92 -0
  181. package/dist/js/framework/components/subtitleoverlay.js +734 -0
  182. package/dist/js/framework/components/subtitleselectbox.d.ts +13 -0
  183. package/dist/js/framework/components/subtitleselectbox.js +44 -0
  184. package/dist/js/framework/components/subtitlesettings/backgroundcolorselectbox.d.ts +12 -0
  185. package/dist/js/framework/components/subtitlesettings/backgroundcolorselectbox.js +81 -0
  186. package/dist/js/framework/components/subtitlesettings/backgroundopacityselectbox.d.ts +12 -0
  187. package/dist/js/framework/components/subtitlesettings/backgroundopacityselectbox.js +67 -0
  188. package/dist/js/framework/components/subtitlesettings/characteredgecolorselectbox.d.ts +12 -0
  189. package/dist/js/framework/components/subtitlesettings/characteredgecolorselectbox.js +70 -0
  190. package/dist/js/framework/components/subtitlesettings/characteredgeselectbox.d.ts +12 -0
  191. package/dist/js/framework/components/subtitlesettings/characteredgeselectbox.js +77 -0
  192. package/dist/js/framework/components/subtitlesettings/fontcolorselectbox.d.ts +12 -0
  193. package/dist/js/framework/components/subtitlesettings/fontcolorselectbox.js +81 -0
  194. package/dist/js/framework/components/subtitlesettings/fontfamilyselectbox.d.ts +12 -0
  195. package/dist/js/framework/components/subtitlesettings/fontfamilyselectbox.js +66 -0
  196. package/dist/js/framework/components/subtitlesettings/fontopacityselectbox.d.ts +12 -0
  197. package/dist/js/framework/components/subtitlesettings/fontopacityselectbox.js +66 -0
  198. package/dist/js/framework/components/subtitlesettings/fontsizeselectbox.d.ts +15 -0
  199. package/dist/js/framework/components/subtitlesettings/fontsizeselectbox.js +85 -0
  200. package/dist/js/framework/components/subtitlesettings/fontstyleselectbox.d.ts +12 -0
  201. package/dist/js/framework/components/subtitlesettings/fontstyleselectbox.js +64 -0
  202. package/dist/js/framework/components/subtitlesettings/subtitlesettingselectbox.d.ts +29 -0
  203. package/dist/js/framework/components/subtitlesettings/subtitlesettingselectbox.js +53 -0
  204. package/dist/js/framework/components/subtitlesettings/subtitlesettingslabel.d.ts +20 -0
  205. package/dist/js/framework/components/subtitlesettings/subtitlesettingslabel.js +50 -0
  206. package/dist/js/framework/components/subtitlesettings/subtitlesettingsmanager.d.ts +43 -0
  207. package/dist/js/framework/components/subtitlesettings/subtitlesettingsmanager.js +225 -0
  208. package/dist/js/framework/components/subtitlesettings/subtitlesettingspanelpage.d.ts +22 -0
  209. package/dist/js/framework/components/subtitlesettings/subtitlesettingspanelpage.js +111 -0
  210. package/dist/js/framework/components/subtitlesettings/subtitlesettingsresetbutton.d.ts +13 -0
  211. package/dist/js/framework/components/subtitlesettings/subtitlesettingsresetbutton.js +46 -0
  212. package/dist/js/framework/components/subtitlesettings/windowcolorselectbox.d.ts +12 -0
  213. package/dist/js/framework/components/subtitlesettings/windowcolorselectbox.js +81 -0
  214. package/dist/js/framework/components/subtitlesettings/windowopacityselectbox.d.ts +12 -0
  215. package/dist/js/framework/components/subtitlesettings/windowopacityselectbox.js +67 -0
  216. package/dist/js/framework/components/timelinemarkershandler.d.ts +38 -0
  217. package/dist/js/framework/components/timelinemarkershandler.js +207 -0
  218. package/dist/js/framework/components/titlebar.d.ts +25 -0
  219. package/dist/js/framework/components/titlebar.js +93 -0
  220. package/dist/js/framework/components/togglebutton.d.ts +98 -0
  221. package/dist/js/framework/components/togglebutton.js +180 -0
  222. package/dist/js/framework/components/tvnoisecanvas.d.ts +26 -0
  223. package/dist/js/framework/components/tvnoisecanvas.js +106 -0
  224. package/dist/js/framework/components/uicontainer.d.ts +65 -0
  225. package/dist/js/framework/components/uicontainer.js +372 -0
  226. package/dist/js/framework/components/videoqualityselectbox.d.ts +19 -0
  227. package/dist/js/framework/components/videoqualityselectbox.js +85 -0
  228. package/dist/js/framework/components/volumecontrolbutton.d.ts +49 -0
  229. package/dist/js/framework/components/volumecontrolbutton.js +116 -0
  230. package/dist/js/framework/components/volumeslider.d.ts +30 -0
  231. package/dist/js/framework/components/volumeslider.js +118 -0
  232. package/dist/js/framework/components/volumetogglebutton.d.ts +12 -0
  233. package/dist/js/framework/components/volumetogglebutton.js +63 -0
  234. package/dist/js/framework/components/vrtogglebutton.d.ts +12 -0
  235. package/dist/js/framework/components/vrtogglebutton.js +103 -0
  236. package/dist/js/framework/components/watermark.d.ts +16 -0
  237. package/dist/js/framework/components/watermark.js +42 -0
  238. package/dist/js/framework/demofactory.d.ts +6 -0
  239. package/dist/js/framework/demofactory.js +156 -0
  240. package/dist/js/framework/dom.d.ts +245 -0
  241. package/dist/js/framework/dom.js +453 -0
  242. package/dist/js/framework/errorutils.d.ts +10 -0
  243. package/dist/js/framework/errorutils.js +86 -0
  244. package/dist/js/framework/eventdispatcher.js +206 -0
  245. package/dist/js/framework/focusvisibilitytracker.js +63 -0
  246. package/dist/js/framework/groupplaybackapi.js +18 -0
  247. package/dist/js/framework/guid.js +11 -0
  248. package/dist/js/framework/imageloader.js +61 -0
  249. package/dist/js/framework/localization/i18n.d.ts +28 -28
  250. package/dist/js/framework/localization/i18n.js +17 -14
  251. package/dist/js/framework/localization/languages/de.json +61 -62
  252. package/dist/js/framework/localization/languages/en.json +78 -79
  253. package/dist/js/framework/localization/languages/es.json +79 -80
  254. package/dist/js/framework/localization/languages/nl.json +75 -76
  255. package/dist/js/framework/main.d.ts +85 -89
  256. package/dist/js/framework/main.js +172 -184
  257. package/dist/js/framework/mobilev3playerapi.d.ts +23 -0
  258. package/dist/js/framework/mobilev3playerapi.js +18 -0
  259. package/dist/js/framework/playerutils.d.ts +83 -0
  260. package/dist/js/framework/playerutils.js +193 -0
  261. package/dist/js/framework/spatialnavigation/ListNavigationGroup.d.ts +17 -0
  262. package/dist/js/framework/spatialnavigation/ListNavigationGroup.js +73 -0
  263. package/dist/js/framework/spatialnavigation/gethtmlelementsfromcomponents.d.ts +9 -0
  264. package/dist/js/framework/spatialnavigation/gethtmlelementsfromcomponents.js +55 -0
  265. package/dist/js/framework/spatialnavigation/keymap.js +124 -0
  266. package/dist/js/framework/spatialnavigation/navigationalgorithm.d.ts +18 -0
  267. package/dist/js/framework/spatialnavigation/navigationalgorithm.js +132 -0
  268. package/dist/js/framework/spatialnavigation/navigationgroup.d.ts +84 -0
  269. package/dist/js/framework/spatialnavigation/navigationgroup.js +162 -0
  270. package/dist/js/framework/spatialnavigation/rootnavigationgroup.d.ts +17 -0
  271. package/dist/js/framework/spatialnavigation/rootnavigationgroup.js +67 -0
  272. package/dist/js/framework/spatialnavigation/seekbarhandler.d.ts +31 -0
  273. package/dist/js/framework/spatialnavigation/seekbarhandler.js +134 -0
  274. package/dist/js/framework/spatialnavigation/spatialnavigation.d.ts +53 -0
  275. package/dist/js/framework/spatialnavigation/spatialnavigation.js +147 -0
  276. package/dist/js/framework/spatialnavigation/typeguards.d.ts +11 -0
  277. package/dist/js/framework/spatialnavigation/typeguards.js +32 -0
  278. package/dist/js/framework/spatialnavigation/types.d.ts +1 -7
  279. package/dist/js/framework/spatialnavigation/types.js +2 -2
  280. package/dist/js/framework/storageutils.d.ts +37 -0
  281. package/dist/js/framework/storageutils.js +88 -0
  282. package/dist/js/framework/stringutils.js +191 -0
  283. package/dist/js/framework/subtitleutils.d.ts +24 -0
  284. package/dist/js/framework/subtitleutils.js +100 -0
  285. package/dist/js/framework/uiconfig.d.ts +129 -0
  286. package/dist/js/framework/uifactory.d.ts +29 -0
  287. package/dist/js/framework/uifactory.js +578 -0
  288. package/dist/js/framework/uimanager.d.ts +304 -0
  289. package/dist/js/framework/uimanager.js +849 -0
  290. package/dist/js/framework/uiutils.d.ts +19 -0
  291. package/dist/js/framework/uiutils.js +36 -0
  292. package/dist/js/framework/volumecontroller.d.ts +41 -0
  293. package/dist/js/framework/volumecontroller.js +118 -0
  294. package/dist/js/framework/vttutils.d.ts +13 -0
  295. package/dist/js/framework/vttutils.js +205 -0
  296. package/dist/simple.html +33 -34
  297. package/eslint.config.mjs +49 -0
  298. package/gulpfile.js +250 -0
  299. package/jest.config.js +21 -0
  300. package/package.json +28 -36
  301. package/publish.sh +169 -0
  302. package/setup-jest.ts +1 -0
  303. package/spec/audioutils.spec.ts +119 -0
  304. package/spec/browserutils.spec.ts +26 -0
  305. package/spec/components/errormessageoverlay.spec.ts +68 -0
  306. package/spec/components/fullscreentogglebutton.spec.ts +85 -0
  307. package/spec/components/listselector.spec.ts +262 -0
  308. package/spec/components/pictureinpicturetogglebutton.spec.ts +85 -0
  309. package/spec/components/playbacktimelabel.spec.ts +151 -0
  310. package/spec/components/seekbar.spec.ts +186 -0
  311. package/spec/components/seekbarlabel.spec.ts +191 -0
  312. package/spec/components/selectbox.spec.ts +325 -0
  313. package/spec/components/settingspanel.spec.ts +236 -0
  314. package/spec/components/subtitleoverlay.spec.ts +107 -0
  315. package/spec/components/timelinemarkershandler.spec.ts +88 -0
  316. package/spec/components/togglebutton.spec.ts +142 -0
  317. package/spec/components/uicontainer.spec.ts +101 -0
  318. package/spec/errorutils.spec.ts +35 -0
  319. package/spec/focusvisibilitytracker.spec.ts +88 -0
  320. package/spec/helper/MockHelper.ts +133 -0
  321. package/spec/helper/PlayerEventEmitter.ts +409 -0
  322. package/spec/helper/mockClass.ts +48 -0
  323. package/spec/helper/mockComponent.ts +24 -0
  324. package/spec/localization.spec.ts +63 -0
  325. package/spec/mobilev3playerapi.spec.ts +26 -0
  326. package/spec/playerutils.spec.ts +43 -0
  327. package/spec/release/calculateVersionNumber.spec.ts +90 -0
  328. package/spec/release/defineVersion.spec.ts +27 -0
  329. package/spec/release/detectReleaseLevel.spec.ts +106 -0
  330. package/spec/spatialnavigation/gethtmlelementsfromcomponents.spec.ts +91 -0
  331. package/spec/spatialnavigation/keymap.spec.ts +35 -0
  332. package/spec/spatialnavigation/listnavigationgroup.spec.ts +55 -0
  333. package/spec/spatialnavigation/navigationalgorithm.spec.ts +91 -0
  334. package/spec/spatialnavigation/navigationgroup.spec.ts +167 -0
  335. package/spec/spatialnavigation/nodeeventsubscriber.spec.ts +41 -0
  336. package/spec/spatialnavigation/rootnavigationgroup.spec.ts +54 -0
  337. package/spec/spatialnavigation/seekbarhandler.spec.ts +212 -0
  338. package/spec/spatialnavigation/spatialnavigation.spec.ts +103 -0
  339. package/spec/subtitleutils.spec.ts +160 -0
  340. package/spec/uimanager.spec.ts +210 -0
  341. package/spec/volumecontroller.spec.ts +29 -0
  342. package/spec/vttutils.spec.ts +702 -0
  343. package/src/html/index.html +717 -906
  344. package/src/html/simple.html +33 -34
  345. package/src/scss/bitmovinplayer-ui.scss +1 -150
  346. package/src/scss/demo.scss +0 -9
  347. package/src/scss/skin-modern/_mixins.scss +161 -0
  348. package/src/scss/skin-modern/_skin-ads.scss +61 -0
  349. package/src/scss/skin-modern/_skin-cast-receiver.scss +91 -0
  350. package/src/scss/skin-modern/_skin-smallscreen.scss +146 -0
  351. package/src/scss/skin-modern/_skin-tv.scss +104 -0
  352. package/src/scss/skin-modern/_skin.scss +97 -0
  353. package/src/scss/skin-modern/_variables.scss +25 -0
  354. package/src/scss/skin-modern/components/_airplaytogglebutton.scss +16 -0
  355. package/src/scss/skin-modern/components/_audiotracksettingspaneltogglebutton.scss +12 -0
  356. package/src/scss/skin-modern/components/_bufferingoverlay.scss +85 -0
  357. package/src/scss/skin-modern/components/_button.scss +45 -0
  358. package/src/scss/skin-modern/components/_caststatusoverlay.scss +28 -0
  359. package/src/scss/skin-modern/components/_casttogglebutton.scss +16 -0
  360. package/src/scss/skin-modern/components/_clickoverlay.scss +11 -0
  361. package/src/scss/skin-modern/components/_closebutton.scss +32 -0
  362. package/src/scss/skin-modern/components/_container.scss +11 -0
  363. package/src/scss/skin-modern/components/_controlbar.scss +69 -0
  364. package/src/scss/skin-modern/components/_ecomodetogglebutton.scss +35 -0
  365. package/src/scss/skin-modern/components/_errormessageoverlay.scss +47 -0
  366. package/src/scss/skin-modern/components/_fullscreentogglebutton.scss +16 -0
  367. package/src/scss/skin-modern/components/_hugeplaybacktogglebutton.scss +84 -0
  368. package/src/scss/skin-modern/components/_hugereplaybutton.scss +33 -0
  369. package/src/scss/skin-modern/components/_label.scss +21 -0
  370. package/src/scss/skin-modern/components/_listbox.scss +38 -0
  371. package/src/scss/skin-modern/components/_pictureinpicturetogglebutton.scss +16 -0
  372. package/src/scss/skin-modern/components/_playbacktimelabel.scss +23 -0
  373. package/src/scss/skin-modern/components/_playbacktogglebutton.scss +20 -0
  374. package/src/scss/skin-modern/components/_playbacktoggleoverlay.scss +10 -0
  375. package/src/scss/skin-modern/components/_quickseekbutton.scss +18 -0
  376. package/src/scss/skin-modern/components/_recommendationoverlay.scss +91 -0
  377. package/src/scss/skin-modern/components/_replaybutton.scss +12 -0
  378. package/src/scss/skin-modern/components/_seekbar.scss +164 -0
  379. package/src/scss/skin-modern/components/_seekbarlabel.scss +75 -0
  380. package/src/scss/skin-modern/components/_selectbox.scss +23 -0
  381. package/src/scss/skin-modern/components/_settingspanel.scss +40 -0
  382. package/src/scss/skin-modern/components/_settingspanelpage.scss +43 -0
  383. package/src/scss/skin-modern/components/_settingspanelpagebackbutton.scss +29 -0
  384. package/src/scss/skin-modern/components/_settingspanelpageopenbutton.scss +23 -0
  385. package/src/scss/skin-modern/components/_settingstogglebutton.scss +26 -0
  386. package/src/scss/skin-modern/components/_subtitleoverlay-cea608.scss +46 -0
  387. package/src/scss/skin-modern/components/_subtitleoverlay.scss +73 -0
  388. package/src/scss/skin-modern/components/_subtitlesettingspaneltogglebutton.scss +12 -0
  389. package/src/scss/skin-modern/components/_titlebar.scss +39 -0
  390. package/src/scss/skin-modern/components/_uicontainer.scss +57 -0
  391. package/src/scss/skin-modern/components/_volumecontrolbutton.scss +30 -0
  392. package/src/scss/skin-modern/components/_volumeslider.scss +19 -0
  393. package/src/scss/skin-modern/components/_volumetogglebutton.scss +36 -0
  394. package/src/scss/skin-modern/components/_vrtogglebutton.scss +17 -0
  395. package/src/scss/skin-modern/components/_watermark.scss +21 -0
  396. package/src/scss/skin-modern/components/subtitlesettings/_subtitleoverlay-settings.scss +150 -0
  397. package/src/scss/skin-modern/components/subtitlesettings/_subtitlesettings.scss +2 -0
  398. package/src/scss/skin-modern/components/subtitlesettings/_subtitlesettingsresetbutton.scss +12 -0
  399. package/src/ts/audiotrackutils.ts +80 -0
  400. package/src/ts/browserutils.ts +93 -0
  401. package/src/ts/components/adclickoverlay.ts +48 -0
  402. package/src/ts/components/admessagelabel.ts +51 -0
  403. package/src/ts/components/adskipbutton.ts +93 -0
  404. package/src/ts/components/airplaytogglebutton.ts +64 -0
  405. package/src/ts/components/audioqualityselectbox.ts +67 -0
  406. package/src/ts/components/audiotracklistbox.ts +17 -0
  407. package/src/ts/components/audiotrackselectbox.ts +27 -0
  408. package/src/ts/components/bufferingoverlay.ts +81 -0
  409. package/src/ts/components/button.ts +96 -0
  410. package/src/ts/components/caststatusoverlay.ts +51 -0
  411. package/src/ts/components/casttogglebutton.ts +67 -0
  412. package/src/ts/components/castuicontainer.ts +81 -0
  413. package/src/ts/components/clickoverlay.ts +57 -0
  414. package/src/ts/components/closebutton.ts +44 -0
  415. package/src/ts/components/component.ts +585 -0
  416. package/src/ts/components/container.ts +171 -0
  417. package/src/ts/components/controlbar.ts +96 -0
  418. package/src/ts/components/ecomodecontainer.ts +129 -0
  419. package/src/ts/components/ecomodetogglebutton.ts +89 -0
  420. package/src/ts/components/errormessageoverlay.ts +186 -0
  421. package/src/ts/components/fullscreentogglebutton.ts +69 -0
  422. package/src/ts/components/hugeplaybacktogglebutton.ts +188 -0
  423. package/src/ts/components/hugereplaybutton.ts +44 -0
  424. package/src/ts/components/itemselectionlist.ts +108 -0
  425. package/src/ts/components/label.ts +139 -0
  426. package/src/ts/components/listbox.ts +149 -0
  427. package/src/ts/components/listselector.ts +276 -0
  428. package/src/ts/components/metadatalabel.ts +74 -0
  429. package/src/ts/components/pictureinpicturetogglebutton.ts +69 -0
  430. package/src/ts/components/playbackspeedselectbox.ts +68 -0
  431. package/src/ts/components/playbacktimelabel.ts +209 -0
  432. package/src/ts/components/playbacktogglebutton.ts +150 -0
  433. package/src/ts/components/playbacktoggleoverlay.ts +37 -0
  434. package/src/ts/components/quickseekbutton.ts +139 -0
  435. package/src/ts/components/recommendationoverlay.ts +134 -0
  436. package/src/ts/components/replaybutton.ts +51 -0
  437. package/src/ts/components/seekbar.ts +1143 -0
  438. package/src/ts/components/seekbarbufferlevel.ts +21 -0
  439. package/src/ts/components/seekbarcontroller.ts +126 -0
  440. package/src/ts/components/seekbarlabel.ts +259 -0
  441. package/src/ts/components/selectbox.ts +213 -0
  442. package/src/ts/components/settingspanel.ts +402 -0
  443. package/src/ts/components/settingspanelitem.ts +114 -0
  444. package/src/ts/components/settingspanelpage.ts +99 -0
  445. package/src/ts/components/settingspanelpagebackbutton.ts +26 -0
  446. package/src/ts/components/settingspanelpagenavigatorbutton.ts +69 -0
  447. package/src/ts/components/settingspanelpageopenbutton.ts +30 -0
  448. package/src/ts/components/settingstogglebutton.ts +117 -0
  449. package/src/ts/components/spacer.ts +30 -0
  450. package/src/ts/components/subtitlelistbox.ts +18 -0
  451. package/src/ts/components/subtitleoverlay.ts +851 -0
  452. package/src/ts/components/subtitleselectbox.ts +29 -0
  453. package/src/ts/components/subtitlesettings/backgroundcolorselectbox.ts +69 -0
  454. package/src/ts/components/subtitlesettings/backgroundopacityselectbox.ts +54 -0
  455. package/src/ts/components/subtitlesettings/characteredgecolorselectbox.ts +57 -0
  456. package/src/ts/components/subtitlesettings/characteredgeselectbox.ts +64 -0
  457. package/src/ts/components/subtitlesettings/fontcolorselectbox.ts +69 -0
  458. package/src/ts/components/subtitlesettings/fontfamilyselectbox.ts +53 -0
  459. package/src/ts/components/subtitlesettings/fontopacityselectbox.ts +53 -0
  460. package/src/ts/components/subtitlesettings/fontsizeselectbox.ts +76 -0
  461. package/src/ts/components/subtitlesettings/fontstyleselectbox.ts +50 -0
  462. package/src/ts/components/subtitlesettings/subtitlesettingselectbox.ts +53 -0
  463. package/src/ts/components/subtitlesettings/subtitlesettingslabel.ts +52 -0
  464. package/src/ts/components/subtitlesettings/subtitlesettingsmanager.ts +207 -0
  465. package/src/ts/components/subtitlesettings/subtitlesettingspanelpage.ts +115 -0
  466. package/src/ts/components/subtitlesettings/subtitlesettingsresetbutton.ts +33 -0
  467. package/src/ts/components/subtitlesettings/windowcolorselectbox.ts +71 -0
  468. package/src/ts/components/subtitlesettings/windowopacityselectbox.ts +54 -0
  469. package/src/ts/components/timelinemarkershandler.ts +269 -0
  470. package/src/ts/components/titlebar.ts +93 -0
  471. package/src/ts/components/togglebutton.ts +218 -0
  472. package/src/ts/components/tvnoisecanvas.ts +105 -0
  473. package/src/ts/components/uicontainer.ts +422 -0
  474. package/src/ts/components/videoqualityselectbox.ts +81 -0
  475. package/src/ts/components/volumecontrolbutton.ts +130 -0
  476. package/src/ts/components/volumeslider.ts +132 -0
  477. package/src/ts/components/volumetogglebutton.ts +50 -0
  478. package/src/ts/components/vrtogglebutton.ts +89 -0
  479. package/src/ts/components/watermark.ts +31 -0
  480. package/src/ts/demofactory.ts +161 -0
  481. package/src/ts/dom.ts +614 -0
  482. package/src/ts/errorutils.ts +89 -0
  483. package/src/ts/eventdispatcher.ts +276 -0
  484. package/src/ts/focusvisibilitytracker.ts +71 -0
  485. package/src/ts/groupplaybackapi.ts +93 -0
  486. package/src/ts/guid.ts +8 -0
  487. package/src/ts/imageloader.ts +74 -0
  488. package/src/ts/localization/i18n.ts +48 -46
  489. package/src/ts/localization/languages/de.json +1 -2
  490. package/src/ts/localization/languages/en.json +14 -15
  491. package/src/ts/localization/languages/es.json +14 -15
  492. package/src/ts/localization/languages/nl.json +1 -2
  493. package/src/ts/main.ts +86 -132
  494. package/src/ts/mobilev3playerapi.ts +35 -0
  495. package/src/ts/playerutils.ts +207 -0
  496. package/src/ts/spatialnavigation/ListNavigationGroup.ts +49 -0
  497. package/src/ts/spatialnavigation/gethtmlelementsfromcomponents.ts +58 -0
  498. package/src/ts/spatialnavigation/keymap.ts +127 -0
  499. package/src/ts/spatialnavigation/navigationalgorithm.ts +146 -0
  500. package/src/ts/spatialnavigation/navigationgroup.ts +202 -0
  501. package/src/ts/spatialnavigation/nodeeventsubscriber.ts +76 -0
  502. package/src/ts/spatialnavigation/rootnavigationgroup.ts +39 -0
  503. package/src/ts/spatialnavigation/seekbarhandler.ts +162 -0
  504. package/src/ts/spatialnavigation/spatialnavigation.ts +158 -0
  505. package/src/ts/spatialnavigation/typeguards.ts +29 -0
  506. package/src/ts/spatialnavigation/types.ts +1 -8
  507. package/src/ts/storageutils.ts +88 -0
  508. package/src/ts/stringutils.ts +207 -0
  509. package/src/ts/subtitleutils.ts +106 -0
  510. package/src/ts/timeout.ts +110 -0
  511. package/src/ts/uiconfig.ts +134 -0
  512. package/src/ts/uifactory.ts +631 -0
  513. package/src/ts/uimanager.ts +1010 -0
  514. package/src/ts/uiutils.ts +38 -0
  515. package/src/ts/volumecontroller.ts +133 -0
  516. package/src/ts/vttutils.ts +261 -0
  517. package/tsconfig.json +6 -4
  518. package/typedoc.json +13 -2
  519. package/assets/images/ad-skip.svg +0 -3
  520. package/assets/images/airplay.svg +0 -3
  521. package/assets/images/angle-left.svg +0 -1
  522. package/assets/images/angle-right.svg +0 -1
  523. package/assets/images/audio-tracks.svg +0 -3
  524. package/assets/images/cast.svg +0 -3
  525. package/assets/images/check.svg +0 -1
  526. package/assets/images/close.svg +0 -1
  527. package/assets/images/fullscreen.svg +0 -3
  528. package/assets/images/fullscreenX.svg +0 -3
  529. package/assets/images/glasses.svg +0 -3
  530. package/assets/images/leaf.svg +0 -3
  531. package/assets/images/loader.svg +0 -1
  532. package/assets/images/logo.svg +0 -15
  533. package/assets/images/pause.svg +0 -3
  534. package/assets/images/pip.svg +0 -3
  535. package/assets/images/pipX.svg +0 -3
  536. package/assets/images/play.svg +0 -3
  537. package/assets/images/quickseek-back.svg +0 -3
  538. package/assets/images/quickseek-forward.svg +0 -3
  539. package/assets/images/replay-with-play.svg +0 -4
  540. package/assets/images/replay.svg +0 -3
  541. package/assets/images/settings.svg +0 -3
  542. package/assets/images/stop.svg +0 -3
  543. package/assets/images/subtitles.svg +0 -3
  544. package/assets/images/toggleOff.svg +0 -1
  545. package/assets/images/toggleOn.svg +0 -1
  546. package/assets/images/volume-low.svg +0 -3
  547. package/assets/images/volume-mute.svg +0 -3
  548. package/assets/images/volume.svg +0 -3
  549. package/dist/css/bitmovinplayer-ui.css.map +0 -1
  550. package/dist/css/demo.css.map +0 -1
  551. package/dist/demo.js +0 -0
  552. package/dist/js/bitmovinplayer-ui.js.map +0 -1
  553. package/dist/js/framework/DOM.d.ts +0 -251
  554. package/dist/js/framework/DOM.js +0 -470
  555. package/dist/js/framework/EventDispatcher.js +0 -205
  556. package/dist/js/framework/UIConfig.d.ts +0 -167
  557. package/dist/js/framework/UIFactory.d.ts +0 -67
  558. package/dist/js/framework/UIFactory.js +0 -709
  559. package/dist/js/framework/UIManager.d.ts +0 -323
  560. package/dist/js/framework/UIManager.js +0 -890
  561. package/dist/js/framework/components/CastUIContainer.d.ts +0 -15
  562. package/dist/js/framework/components/CastUIContainer.js +0 -85
  563. package/dist/js/framework/components/Component.d.ts +0 -383
  564. package/dist/js/framework/components/Component.js +0 -486
  565. package/dist/js/framework/components/Container.d.ts +0 -82
  566. package/dist/js/framework/components/Container.js +0 -177
  567. package/dist/js/framework/components/ControlBar.d.ts +0 -20
  568. package/dist/js/framework/components/ControlBar.js +0 -96
  569. package/dist/js/framework/components/DummyComponent.d.ts +0 -4
  570. package/dist/js/framework/components/DummyComponent.js +0 -41
  571. package/dist/js/framework/components/EcoModeContainer.d.ts +0 -23
  572. package/dist/js/framework/components/EcoModeContainer.js +0 -117
  573. package/dist/js/framework/components/Icon.d.ts +0 -17
  574. package/dist/js/framework/components/Icon.js +0 -39
  575. package/dist/js/framework/components/RecommendationItem.d.ts +0 -26
  576. package/dist/js/framework/components/RecommendationItem.js +0 -121
  577. package/dist/js/framework/components/Spacer.d.ts +0 -12
  578. package/dist/js/framework/components/Spacer.js +0 -46
  579. package/dist/js/framework/components/TitleBar.d.ts +0 -27
  580. package/dist/js/framework/components/TitleBar.js +0 -112
  581. package/dist/js/framework/components/TvNoiseCanvas.d.ts +0 -26
  582. package/dist/js/framework/components/TvNoiseCanvas.js +0 -106
  583. package/dist/js/framework/components/UIContainer.d.ts +0 -66
  584. package/dist/js/framework/components/UIContainer.js +0 -429
  585. package/dist/js/framework/components/Watermark.d.ts +0 -16
  586. package/dist/js/framework/components/Watermark.js +0 -42
  587. package/dist/js/framework/components/ads/AdClickOverlay.d.ts +0 -12
  588. package/dist/js/framework/components/ads/AdClickOverlay.js +0 -61
  589. package/dist/js/framework/components/ads/AdControlBar.d.ts +0 -49
  590. package/dist/js/framework/components/ads/AdControlBar.js +0 -129
  591. package/dist/js/framework/components/ads/AdCounterLabel.d.ts +0 -12
  592. package/dist/js/framework/components/ads/AdCounterLabel.js +0 -52
  593. package/dist/js/framework/components/ads/AdMessageLabel.d.ts +0 -12
  594. package/dist/js/framework/components/ads/AdMessageLabel.js +0 -58
  595. package/dist/js/framework/components/ads/AdSkipButton.d.ts +0 -29
  596. package/dist/js/framework/components/ads/AdSkipButton.js +0 -88
  597. package/dist/js/framework/components/ads/AdStatusOverlay.d.ts +0 -9
  598. package/dist/js/framework/components/ads/AdStatusOverlay.js +0 -44
  599. package/dist/js/framework/components/buttons/AirPlayToggleButton.d.ts +0 -12
  600. package/dist/js/framework/components/buttons/AirPlayToggleButton.js +0 -79
  601. package/dist/js/framework/components/buttons/Button.d.ts +0 -75
  602. package/dist/js/framework/components/buttons/Button.js +0 -149
  603. package/dist/js/framework/components/buttons/CastToggleButton.d.ts +0 -12
  604. package/dist/js/framework/components/buttons/CastToggleButton.js +0 -83
  605. package/dist/js/framework/components/buttons/CloseButton.d.ts +0 -24
  606. package/dist/js/framework/components/buttons/CloseButton.js +0 -45
  607. package/dist/js/framework/components/buttons/EcoModeToggleButton.d.ts +0 -14
  608. package/dist/js/framework/components/buttons/EcoModeToggleButton.js +0 -96
  609. package/dist/js/framework/components/buttons/FullscreenToggleButton.d.ts +0 -12
  610. package/dist/js/framework/components/buttons/FullscreenToggleButton.js +0 -73
  611. package/dist/js/framework/components/buttons/HugePlaybackToggleButton.d.ts +0 -18
  612. package/dist/js/framework/components/buttons/HugePlaybackToggleButton.js +0 -174
  613. package/dist/js/framework/components/buttons/HugeReplayButton.d.ts +0 -12
  614. package/dist/js/framework/components/buttons/HugeReplayButton.js +0 -45
  615. package/dist/js/framework/components/buttons/PictureInPictureToggleButton.d.ts +0 -12
  616. package/dist/js/framework/components/buttons/PictureInPictureToggleButton.js +0 -73
  617. package/dist/js/framework/components/buttons/PlaybackToggleButton.d.ts +0 -25
  618. package/dist/js/framework/components/buttons/PlaybackToggleButton.js +0 -140
  619. package/dist/js/framework/components/buttons/QuickSeekButton.d.ts +0 -27
  620. package/dist/js/framework/components/buttons/QuickSeekButton.js +0 -120
  621. package/dist/js/framework/components/buttons/ReplayButton.d.ts +0 -12
  622. package/dist/js/framework/components/buttons/ReplayButton.js +0 -67
  623. package/dist/js/framework/components/buttons/SmallCenteredPlaybackToggleButton.d.ts +0 -13
  624. package/dist/js/framework/components/buttons/SmallCenteredPlaybackToggleButton.js +0 -106
  625. package/dist/js/framework/components/buttons/ToggleButton.d.ts +0 -98
  626. package/dist/js/framework/components/buttons/ToggleButton.js +0 -180
  627. package/dist/js/framework/components/buttons/VRToggleButton.d.ts +0 -12
  628. package/dist/js/framework/components/buttons/VRToggleButton.js +0 -103
  629. package/dist/js/framework/components/buttons/VolumeControlButton.d.ts +0 -49
  630. package/dist/js/framework/components/buttons/VolumeControlButton.js +0 -116
  631. package/dist/js/framework/components/buttons/VolumeToggleButton.d.ts +0 -12
  632. package/dist/js/framework/components/buttons/VolumeToggleButton.js +0 -63
  633. package/dist/js/framework/components/labels/Label.d.ts +0 -100
  634. package/dist/js/framework/components/labels/Label.js +0 -176
  635. package/dist/js/framework/components/labels/MetadataLabel.d.ts +0 -36
  636. package/dist/js/framework/components/labels/MetadataLabel.js +0 -74
  637. package/dist/js/framework/components/labels/PlaybackTimeLabel.d.ts +0 -58
  638. package/dist/js/framework/components/labels/PlaybackTimeLabel.js +0 -193
  639. package/dist/js/framework/components/lists/AudioTrackListBox.d.ts +0 -13
  640. package/dist/js/framework/components/lists/AudioTrackListBox.js +0 -41
  641. package/dist/js/framework/components/lists/ItemSelectionList.d.ts +0 -16
  642. package/dist/js/framework/components/lists/ItemSelectionList.js +0 -117
  643. package/dist/js/framework/components/lists/ListBox.d.ts +0 -21
  644. package/dist/js/framework/components/lists/ListBox.js +0 -81
  645. package/dist/js/framework/components/lists/ListSelector.d.ts +0 -134
  646. package/dist/js/framework/components/lists/ListSelector.js +0 -241
  647. package/dist/js/framework/components/lists/SubtitleListBox.d.ts +0 -13
  648. package/dist/js/framework/components/lists/SubtitleListBox.js +0 -41
  649. package/dist/js/framework/components/overlays/BufferingOverlay.d.ts +0 -26
  650. package/dist/js/framework/components/overlays/BufferingOverlay.js +0 -84
  651. package/dist/js/framework/components/overlays/CastStatusOverlay.d.ts +0 -13
  652. package/dist/js/framework/components/overlays/CastStatusOverlay.js +0 -64
  653. package/dist/js/framework/components/overlays/ClickOverlay.d.ts +0 -27
  654. package/dist/js/framework/components/overlays/ClickOverlay.js +0 -61
  655. package/dist/js/framework/components/overlays/DismissClickOverlay.d.ts +0 -12
  656. package/dist/js/framework/components/overlays/DismissClickOverlay.js +0 -46
  657. package/dist/js/framework/components/overlays/ErrorMessageOverlay.d.ts +0 -86
  658. package/dist/js/framework/components/overlays/ErrorMessageOverlay.js +0 -107
  659. package/dist/js/framework/components/overlays/PlaybackToggleOverlay.d.ts +0 -21
  660. package/dist/js/framework/components/overlays/PlaybackToggleOverlay.js +0 -42
  661. package/dist/js/framework/components/overlays/RecommendationOverlay.d.ts +0 -16
  662. package/dist/js/framework/components/overlays/RecommendationOverlay.js +0 -95
  663. package/dist/js/framework/components/overlays/SubtitleOverlay.d.ts +0 -95
  664. package/dist/js/framework/components/overlays/SubtitleOverlay.js +0 -732
  665. package/dist/js/framework/components/overlays/TouchControlOverlay.d.ts +0 -56
  666. package/dist/js/framework/components/overlays/TouchControlOverlay.js +0 -196
  667. package/dist/js/framework/components/seekbar/SeekBar.d.ts +0 -256
  668. package/dist/js/framework/components/seekbar/SeekBar.js +0 -990
  669. package/dist/js/framework/components/seekbar/SeekBarLabel.d.ts +0 -53
  670. package/dist/js/framework/components/seekbar/SeekBarLabel.js +0 -221
  671. package/dist/js/framework/components/seekbar/VolumeSlider.d.ts +0 -35
  672. package/dist/js/framework/components/seekbar/VolumeSlider.js +0 -121
  673. package/dist/js/framework/components/settings/AudioQualitySelectBox.d.ts +0 -13
  674. package/dist/js/framework/components/settings/AudioQualitySelectBox.js +0 -76
  675. package/dist/js/framework/components/settings/AudioTrackSelectBox.d.ts +0 -13
  676. package/dist/js/framework/components/settings/AudioTrackSelectBox.js +0 -42
  677. package/dist/js/framework/components/settings/DynamicSettingsPanelItem.d.ts +0 -48
  678. package/dist/js/framework/components/settings/DynamicSettingsPanelItem.js +0 -134
  679. package/dist/js/framework/components/settings/InteractiveSettingsPanelItem.d.ts +0 -19
  680. package/dist/js/framework/components/settings/InteractiveSettingsPanelItem.js +0 -81
  681. package/dist/js/framework/components/settings/PlaybackSpeedSelectBox.d.ts +0 -17
  682. package/dist/js/framework/components/settings/PlaybackSpeedSelectBox.js +0 -79
  683. package/dist/js/framework/components/settings/SelectBox.d.ts +0 -40
  684. package/dist/js/framework/components/settings/SelectBox.js +0 -199
  685. package/dist/js/framework/components/settings/SettingsPanel.d.ts +0 -135
  686. package/dist/js/framework/components/settings/SettingsPanel.js +0 -390
  687. package/dist/js/framework/components/settings/SettingsPanelItem.d.ts +0 -62
  688. package/dist/js/framework/components/settings/SettingsPanelItem.js +0 -129
  689. package/dist/js/framework/components/settings/SettingsPanelPage.d.ts +0 -43
  690. package/dist/js/framework/components/settings/SettingsPanelPage.js +0 -138
  691. package/dist/js/framework/components/settings/SettingsPanelPageBackButton.d.ts +0 -10
  692. package/dist/js/framework/components/settings/SettingsPanelPageBackButton.js +0 -45
  693. package/dist/js/framework/components/settings/SettingsPanelPageNavigatorButton.d.ts +0 -51
  694. package/dist/js/framework/components/settings/SettingsPanelPageNavigatorButton.js +0 -60
  695. package/dist/js/framework/components/settings/SettingsPanelPageOpenButton.d.ts +0 -10
  696. package/dist/js/framework/components/settings/SettingsPanelPageOpenButton.js +0 -46
  697. package/dist/js/framework/components/settings/SettingsPanelSelectOption.d.ts +0 -32
  698. package/dist/js/framework/components/settings/SettingsPanelSelectOption.js +0 -59
  699. package/dist/js/framework/components/settings/SettingsToggleButton.d.ts +0 -30
  700. package/dist/js/framework/components/settings/SettingsToggleButton.js +0 -107
  701. package/dist/js/framework/components/settings/SubtitleSelectBox.d.ts +0 -13
  702. package/dist/js/framework/components/settings/SubtitleSelectBox.js +0 -44
  703. package/dist/js/framework/components/settings/VideoQualitySelectBox.d.ts +0 -19
  704. package/dist/js/framework/components/settings/VideoQualitySelectBox.js +0 -85
  705. package/dist/js/framework/components/settings/subtitlesettings/BackgroundColorSelectBox.d.ts +0 -12
  706. package/dist/js/framework/components/settings/subtitlesettings/BackgroundColorSelectBox.js +0 -81
  707. package/dist/js/framework/components/settings/subtitlesettings/BackgroundOpacitySelectBox.d.ts +0 -12
  708. package/dist/js/framework/components/settings/subtitlesettings/BackgroundOpacitySelectBox.js +0 -67
  709. package/dist/js/framework/components/settings/subtitlesettings/CharacterEdgeColorSelectBox.d.ts +0 -12
  710. package/dist/js/framework/components/settings/subtitlesettings/CharacterEdgeColorSelectBox.js +0 -70
  711. package/dist/js/framework/components/settings/subtitlesettings/CharacterEdgeSelectBox.d.ts +0 -12
  712. package/dist/js/framework/components/settings/subtitlesettings/CharacterEdgeSelectBox.js +0 -80
  713. package/dist/js/framework/components/settings/subtitlesettings/FontColorSelectBox.d.ts +0 -12
  714. package/dist/js/framework/components/settings/subtitlesettings/FontColorSelectBox.js +0 -81
  715. package/dist/js/framework/components/settings/subtitlesettings/FontFamilySelectBox.d.ts +0 -12
  716. package/dist/js/framework/components/settings/subtitlesettings/FontFamilySelectBox.js +0 -66
  717. package/dist/js/framework/components/settings/subtitlesettings/FontOpacitySelectBox.d.ts +0 -12
  718. package/dist/js/framework/components/settings/subtitlesettings/FontOpacitySelectBox.js +0 -66
  719. package/dist/js/framework/components/settings/subtitlesettings/FontSizeSelectBox.d.ts +0 -15
  720. package/dist/js/framework/components/settings/subtitlesettings/FontSizeSelectBox.js +0 -84
  721. package/dist/js/framework/components/settings/subtitlesettings/FontStyleSelectBox.d.ts +0 -12
  722. package/dist/js/framework/components/settings/subtitlesettings/FontStyleSelectBox.js +0 -64
  723. package/dist/js/framework/components/settings/subtitlesettings/SubtitleSettingSelectBox.d.ts +0 -29
  724. package/dist/js/framework/components/settings/subtitlesettings/SubtitleSettingSelectBox.js +0 -53
  725. package/dist/js/framework/components/settings/subtitlesettings/SubtitleSettingsPanelPage.d.ts +0 -23
  726. package/dist/js/framework/components/settings/subtitlesettings/SubtitleSettingsPanelPage.js +0 -138
  727. package/dist/js/framework/components/settings/subtitlesettings/SubtitleSettingsResetButton.d.ts +0 -13
  728. package/dist/js/framework/components/settings/subtitlesettings/SubtitleSettingsResetButton.js +0 -47
  729. package/dist/js/framework/components/settings/subtitlesettings/WindowColorSelectBox.d.ts +0 -12
  730. package/dist/js/framework/components/settings/subtitlesettings/WindowColorSelectBox.js +0 -81
  731. package/dist/js/framework/components/settings/subtitlesettings/WindowOpacitySelectBox.d.ts +0 -12
  732. package/dist/js/framework/components/settings/subtitlesettings/WindowOpacitySelectBox.js +0 -67
  733. package/dist/js/framework/spatialnavigation/FocusableContainer.d.ts +0 -21
  734. package/dist/js/framework/spatialnavigation/FocusableContainer.js +0 -44
  735. package/dist/js/framework/spatialnavigation/NavigationAlgorithm.d.ts +0 -18
  736. package/dist/js/framework/spatialnavigation/NavigationAlgorithm.js +0 -176
  737. package/dist/js/framework/spatialnavigation/NavigationGroup.d.ts +0 -109
  738. package/dist/js/framework/spatialnavigation/NavigationGroup.js +0 -272
  739. package/dist/js/framework/spatialnavigation/RecommendationOverlayNavigationGroup.d.ts +0 -8
  740. package/dist/js/framework/spatialnavigation/RecommendationOverlayNavigationGroup.js +0 -41
  741. package/dist/js/framework/spatialnavigation/RootNavigationGroup.d.ts +0 -16
  742. package/dist/js/framework/spatialnavigation/RootNavigationGroup.js +0 -67
  743. package/dist/js/framework/spatialnavigation/SeekBarHandler.d.ts +0 -31
  744. package/dist/js/framework/spatialnavigation/SeekBarHandler.js +0 -137
  745. package/dist/js/framework/spatialnavigation/SettingsPanelNavigationGroup.d.ts +0 -22
  746. package/dist/js/framework/spatialnavigation/SettingsPanelNavigationGroup.js +0 -102
  747. package/dist/js/framework/spatialnavigation/SpatialNavigation.d.ts +0 -53
  748. package/dist/js/framework/spatialnavigation/SpatialNavigation.js +0 -147
  749. package/dist/js/framework/spatialnavigation/TypeGuards.d.ts +0 -10
  750. package/dist/js/framework/spatialnavigation/TypeGuards.js +0 -34
  751. package/dist/js/framework/spatialnavigation/getKeyMapForPlatform.js +0 -136
  752. package/dist/js/framework/spatialnavigation/helper/resolveAllComponents.d.ts +0 -7
  753. package/dist/js/framework/spatialnavigation/helper/resolveAllComponents.js +0 -21
  754. package/dist/js/framework/spatialnavigation/helper/toHtmlElement.d.ts +0 -7
  755. package/dist/js/framework/spatialnavigation/helper/toHtmlElement.js +0 -11
  756. package/dist/js/framework/utils/ArrayUtils.js +0 -25
  757. package/dist/js/framework/utils/AudioTrackUtils.d.ts +0 -22
  758. package/dist/js/framework/utils/AudioTrackUtils.js +0 -69
  759. package/dist/js/framework/utils/BrowserUtils.d.ts +0 -26
  760. package/dist/js/framework/utils/BrowserUtils.js +0 -179
  761. package/dist/js/framework/utils/ErrorUtils.d.ts +0 -10
  762. package/dist/js/framework/utils/ErrorUtils.js +0 -86
  763. package/dist/js/framework/utils/FocusVisibilityTracker.js +0 -63
  764. package/dist/js/framework/utils/GroupPlaybackAPI.js +0 -18
  765. package/dist/js/framework/utils/Guid.js +0 -11
  766. package/dist/js/framework/utils/ImageLoader.js +0 -61
  767. package/dist/js/framework/utils/MobileV3PlayerAPI.d.ts +0 -23
  768. package/dist/js/framework/utils/MobileV3PlayerAPI.js +0 -18
  769. package/dist/js/framework/utils/PlayerUtils.d.ts +0 -83
  770. package/dist/js/framework/utils/PlayerUtils.js +0 -193
  771. package/dist/js/framework/utils/SeekBarController.d.ts +0 -43
  772. package/dist/js/framework/utils/SeekBarController.js +0 -101
  773. package/dist/js/framework/utils/StorageUtils.d.ts +0 -37
  774. package/dist/js/framework/utils/StorageUtils.js +0 -88
  775. package/dist/js/framework/utils/StringUtils.js +0 -194
  776. package/dist/js/framework/utils/SubtitleSettingsManager.d.ts +0 -43
  777. package/dist/js/framework/utils/SubtitleSettingsManager.js +0 -188
  778. package/dist/js/framework/utils/SubtitleUtils.d.ts +0 -24
  779. package/dist/js/framework/utils/SubtitleUtils.js +0 -106
  780. package/dist/js/framework/utils/TimelineMarkersHandler.d.ts +0 -38
  781. package/dist/js/framework/utils/TimelineMarkersHandler.js +0 -224
  782. package/dist/js/framework/utils/UIUtils.d.ts +0 -19
  783. package/dist/js/framework/utils/UIUtils.js +0 -36
  784. package/dist/js/framework/utils/VolumeController.d.ts +0 -41
  785. package/dist/js/framework/utils/VolumeController.js +0 -119
  786. package/dist/js/framework/utils/VttUtils.d.ts +0 -13
  787. package/dist/js/framework/utils/VttUtils.js +0 -203
  788. package/dist/js/framework/utils/getMinBufferLevel.js +0 -17
  789. package/docs/.nojekyll +0 -1
  790. package/docs/assets/hierarchy.js +0 -1
  791. package/docs/assets/highlight.css +0 -71
  792. package/docs/assets/icons.js +0 -18
  793. package/docs/assets/icons.svg +0 -1
  794. package/docs/assets/main.js +0 -60
  795. package/docs/assets/navigation.js +0 -1
  796. package/docs/assets/search.js +0 -1
  797. package/docs/assets/style.css +0 -1633
  798. package/docs/classes/AdClickOverlay.html +0 -88
  799. package/docs/classes/AdControlBar.html +0 -107
  800. package/docs/classes/AdCounterLabel.html +0 -93
  801. package/docs/classes/AdMessageLabel.html +0 -93
  802. package/docs/classes/AdSkipButton.html +0 -84
  803. package/docs/classes/AdStatusOverlay.html +0 -113
  804. package/docs/classes/AirPlayToggleButton.html +0 -102
  805. package/docs/classes/AudioQualitySelectBox.html +0 -123
  806. package/docs/classes/AudioTrackListBox.html +0 -123
  807. package/docs/classes/AudioTrackSelectBox.html +0 -123
  808. package/docs/classes/BackgroundColorSelectBox.html +0 -124
  809. package/docs/classes/BackgroundOpacitySelectBox.html +0 -124
  810. package/docs/classes/BrowserUtils.html +0 -17
  811. package/docs/classes/BufferingOverlay.html +0 -98
  812. package/docs/classes/Button.html +0 -84
  813. package/docs/classes/CastStatusOverlay.html +0 -98
  814. package/docs/classes/CastToggleButton.html +0 -102
  815. package/docs/classes/CastUIContainer.html +0 -103
  816. package/docs/classes/CharacterEdgeSelectBox.html +0 -124
  817. package/docs/classes/ClickOverlay.html +0 -88
  818. package/docs/classes/CloseButton.html +0 -84
  819. package/docs/classes/Component.html +0 -83
  820. package/docs/classes/Container.html +0 -112
  821. package/docs/classes/ControlBar.html +0 -99
  822. package/docs/classes/DynamicSettingsPanelItem.html +0 -101
  823. package/docs/classes/ErrorMessageOverlay.html +0 -99
  824. package/docs/classes/FontColorSelectBox.html +0 -124
  825. package/docs/classes/FontFamilySelectBox.html +0 -124
  826. package/docs/classes/FontOpacitySelectBox.html +0 -124
  827. package/docs/classes/FontSizeSelectBox.html +0 -125
  828. package/docs/classes/FullscreenToggleButton.html +0 -102
  829. package/docs/classes/HugePlaybackToggleButton.html +0 -102
  830. package/docs/classes/HugeReplayButton.html +0 -84
  831. package/docs/classes/I18n.html +0 -5
  832. package/docs/classes/Icon.html +0 -80
  833. package/docs/classes/ItemSelectionList.html +0 -121
  834. package/docs/classes/Label.html +0 -99
  835. package/docs/classes/ListBox.html +0 -138
  836. package/docs/classes/ListSelector.html +0 -123
  837. package/docs/classes/MetadataLabel.html +0 -93
  838. package/docs/classes/NavigationGroup.html +0 -57
  839. package/docs/classes/PictureInPictureToggleButton.html +0 -102
  840. package/docs/classes/PlaybackSpeedSelectBox.html +0 -125
  841. package/docs/classes/PlaybackTimeLabel.html +0 -98
  842. package/docs/classes/PlaybackToggleButton.html +0 -102
  843. package/docs/classes/PlaybackToggleOverlay.html +0 -98
  844. package/docs/classes/PlayerUtils.LiveStreamDetector.html +0 -18
  845. package/docs/classes/PlayerUtils.TimeShiftAvailabilityDetector.html +0 -4
  846. package/docs/classes/PlayerWrapper.html +0 -9
  847. package/docs/classes/QuickSeekButton.html +0 -83
  848. package/docs/classes/RecommendationItem.html +0 -80
  849. package/docs/classes/RecommendationOverlay.html +0 -100
  850. package/docs/classes/ReplayButton.html +0 -84
  851. package/docs/classes/RootNavigationGroup.html +0 -35
  852. package/docs/classes/SeekBar.html +0 -120
  853. package/docs/classes/SeekBarLabel.html +0 -111
  854. package/docs/classes/SelectBox.html +0 -130
  855. package/docs/classes/SettingsPanel.html +0 -138
  856. package/docs/classes/SettingsPanelItem.html +0 -106
  857. package/docs/classes/SettingsPanelNavigationGroup.html +0 -36
  858. package/docs/classes/SettingsPanelNavigationGroupConfig.html +0 -5
  859. package/docs/classes/SettingsPanelPage.html +0 -110
  860. package/docs/classes/SettingsPanelPageBackButton.html +0 -87
  861. package/docs/classes/SettingsPanelPageOpenButton.html +0 -87
  862. package/docs/classes/SettingsToggleButton.html +0 -102
  863. package/docs/classes/Spacer.html +0 -79
  864. package/docs/classes/SpatialNavigation.html +0 -11
  865. package/docs/classes/SubtitleListBox.html +0 -123
  866. package/docs/classes/SubtitleOverlay.html +0 -110
  867. package/docs/classes/SubtitleSelectBox.html +0 -123
  868. package/docs/classes/SubtitleSettingSelectBox.html +0 -124
  869. package/docs/classes/SubtitleSettingsPanelPage.html +0 -109
  870. package/docs/classes/SubtitleSettingsResetButton.html +0 -84
  871. package/docs/classes/TitleBar.html +0 -98
  872. package/docs/classes/ToggleButton.html +0 -102
  873. package/docs/classes/UIContainer.html +0 -103
  874. package/docs/classes/UIInstanceManager.html +0 -32
  875. package/docs/classes/UIManager.html +0 -53
  876. package/docs/classes/VRToggleButton.html +0 -102
  877. package/docs/classes/VideoQualitySelectBox.html +0 -125
  878. package/docs/classes/VolumeControlButton.html +0 -103
  879. package/docs/classes/VolumeSlider.html +0 -113
  880. package/docs/classes/VolumeToggleButton.html +0 -102
  881. package/docs/classes/Watermark.html +0 -88
  882. package/docs/classes/WindowColorSelectBox.html +0 -124
  883. package/docs/classes/WindowOpacitySelectBox.html +0 -124
  884. package/docs/enums/ButtonStyle.html +0 -12
  885. package/docs/enums/LabelStyle.html +0 -9
  886. package/docs/enums/MetadataLabelContent.html +0 -6
  887. package/docs/enums/NavigationDirection.html +0 -3
  888. package/docs/enums/PlaybackTimeLabelMode.html +0 -10
  889. package/docs/enums/PlayerUtils.PlayerState.html +0 -6
  890. package/docs/enums/UIUtils.KeyCode.html +0 -8
  891. package/docs/enums/ViewMode.html +0 -6
  892. package/docs/functions/ArrayUtils.remove.html +0 -5
  893. package/docs/functions/ErrorUtils.defaultMobileV3ErrorMessageTranslator.html +0 -1
  894. package/docs/functions/PlayerUtils.clampValueToRange.html +0 -1
  895. package/docs/functions/PlayerUtils.getCurrentTimeRelativeToSeekableRange.html +0 -3
  896. package/docs/functions/PlayerUtils.getSeekableRangeRespectingLive.html +0 -3
  897. package/docs/functions/PlayerUtils.getSeekableRangeStart.html +0 -4
  898. package/docs/functions/PlayerUtils.getState.html +0 -1
  899. package/docs/functions/PlayerUtils.isTimeShiftAvailable.html +0 -1
  900. package/docs/functions/StorageUtils.getItem.html +0 -4
  901. package/docs/functions/StorageUtils.getObject.html +0 -8
  902. package/docs/functions/StorageUtils.setItem.html +0 -4
  903. package/docs/functions/StorageUtils.setObject.html +0 -8
  904. package/docs/functions/StorageUtils.setStorageApiDisabled.html +0 -1
  905. package/docs/functions/StringUtils.replaceAdMessagePlaceholders.html +0 -29
  906. package/docs/functions/StringUtils.secondsToText.html +0 -1
  907. package/docs/functions/StringUtils.secondsToTime.html +0 -5
  908. package/docs/functions/UIFactory.buildCastReceiverUI.html +0 -8
  909. package/docs/functions/UIFactory.buildSmallScreenUI.html +0 -10
  910. package/docs/functions/UIFactory.buildSubtitleUI.html +0 -7
  911. package/docs/functions/UIFactory.buildTvUI.html +0 -8
  912. package/docs/functions/UIFactory.buildUI.html +0 -14
  913. package/docs/functions/UIUtils.traverseTree.html +0 -1
  914. package/docs/hierarchy.html +0 -1
  915. package/docs/index.html +0 -33
  916. package/docs/interfaces/ActiveUiChangedArgs.html +0 -5
  917. package/docs/interfaces/AdControlBarConfig.html +0 -28
  918. package/docs/interfaces/AdSkipButtonConfig.html +0 -40
  919. package/docs/interfaces/BufferingOverlayConfig.html +0 -32
  920. package/docs/interfaces/ButtonConfig.html +0 -34
  921. package/docs/interfaces/ClickOverlayConfig.html +0 -36
  922. package/docs/interfaces/CloseButtonConfig.html +0 -36
  923. package/docs/interfaces/ComponentConfig.html +0 -27
  924. package/docs/interfaces/ComponentFocusChangedEventArgs.html +0 -3
  925. package/docs/interfaces/ComponentHoverChangedEventArgs.html +0 -3
  926. package/docs/interfaces/ContainerConfig.html +0 -28
  927. package/docs/interfaces/ControlBarConfig.html +0 -28
  928. package/docs/interfaces/DynamicSettingsPanelItemConfig.html +0 -44
  929. package/docs/interfaces/ErrorMessageMap.html +0 -1
  930. package/docs/interfaces/ErrorMessageOverlayConfig.html +0 -79
  931. package/docs/interfaces/ErrorMessageTranslator.html +0 -1
  932. package/docs/interfaces/ExternalRecommendationLink.html +0 -7
  933. package/docs/interfaces/IconConfig.html +0 -29
  934. package/docs/interfaces/InternalUIConfig.html +0 -57
  935. package/docs/interfaces/LabelConfig.html +0 -33
  936. package/docs/interfaces/ListBoxConfig.html +0 -42
  937. package/docs/interfaces/ListItem.html +0 -6
  938. package/docs/interfaces/ListItemFilter.html +0 -7
  939. package/docs/interfaces/ListItemLabelTranslator.html +0 -7
  940. package/docs/interfaces/ListSelectorConfig.html +0 -29
  941. package/docs/interfaces/LocalizationConfig.html +0 -7
  942. package/docs/interfaces/MetadataLabelConfig.html +0 -35
  943. package/docs/interfaces/PlaybackTimeLabelConfig.html +0 -37
  944. package/docs/interfaces/PlaybackToggleButtonConfig.html +0 -52
  945. package/docs/interfaces/PlaybackToggleOverlayConfig.html +0 -31
  946. package/docs/interfaces/PlayerUtils.LiveStreamDetectorEventArgs.html +0 -2
  947. package/docs/interfaces/PlayerUtils.TimeShiftAvailabilityChangedArgs.html +0 -2
  948. package/docs/interfaces/QuickSeekButtonConfig.html +0 -37
  949. package/docs/interfaces/RecommendationConfig.html +0 -14
  950. package/docs/interfaces/RecommendationItemConfig.html +0 -28
  951. package/docs/interfaces/SeekBarConfig.html +0 -48
  952. package/docs/interfaces/SeekBarLabelConfig.html +0 -28
  953. package/docs/interfaces/SeekBarMarker.html +0 -5
  954. package/docs/interfaces/SeekPreviewArgs.html +0 -5
  955. package/docs/interfaces/SeekPreviewEventArgs.html +0 -8
  956. package/docs/interfaces/SettingsPanelConfig.html +0 -35
  957. package/docs/interfaces/SettingsPanelItemConfig.html +0 -40
  958. package/docs/interfaces/SettingsPanelPageConfig.html +0 -30
  959. package/docs/interfaces/SettingsToggleButtonConfig.html +0 -54
  960. package/docs/interfaces/SubtitleSettingSelectBoxConfig.html +0 -29
  961. package/docs/interfaces/SubtitleSettingsPanelPageConfig.html +0 -32
  962. package/docs/interfaces/TimelineMarker.html +0 -21
  963. package/docs/interfaces/TitleBarConfig.html +0 -32
  964. package/docs/interfaces/ToggleButtonConfig.html +0 -49
  965. package/docs/interfaces/UIConditionContext.html +0 -20
  966. package/docs/interfaces/UIConditionResolver.html +0 -4
  967. package/docs/interfaces/UIConfig.html +0 -54
  968. package/docs/interfaces/UIContainerConfig.html +0 -42
  969. package/docs/interfaces/UIUtils.TreeTraversalCallback.html +0 -1
  970. package/docs/interfaces/UIVariant.html +0 -5
  971. package/docs/interfaces/ViewModeChangedEventArgs.html +0 -3
  972. package/docs/interfaces/Vocabularies.html +0 -1
  973. package/docs/interfaces/Vocabulary.html +0 -72
  974. package/docs/interfaces/VolumeControlButtonConfig.html +0 -37
  975. package/docs/interfaces/VolumeSliderConfig.html +0 -55
  976. package/docs/interfaces/WatermarkConfig.html +0 -36
  977. package/docs/interfaces/WrappedPlayer.html +0 -367
  978. package/docs/media/CHANGELOG.md +0 -1709
  979. package/docs/media/CONTRIBUTING.md +0 -56
  980. package/docs/modules/ArrayUtils.html +0 -1
  981. package/docs/modules/ErrorUtils.html +0 -1
  982. package/docs/modules/PlayerUtils.html +0 -1
  983. package/docs/modules/StorageUtils.html +0 -1
  984. package/docs/modules/StringUtils.html +0 -1
  985. package/docs/modules/UIFactory.html +0 -2
  986. package/docs/modules/UIUtils.html +0 -1
  987. package/docs/modules.html +0 -1
  988. package/docs/types/CustomVocabulary.html +0 -1
  989. package/docs/types/LocalizableText.html +0 -1
  990. package/docs/types/Localizer.html +0 -1
  991. package/docs/variables/ErrorUtils.defaultErrorMessages.html +0 -1
  992. package/docs/variables/ErrorUtils.defaultWebErrorMessageTranslator.html +0 -1
  993. package/docs/variables/StringUtils.FORMAT_HHMMSS.html +0 -1
  994. package/docs/variables/StringUtils.FORMAT_MMSS.html +0 -1
  995. package/docs/variables/i18n.html +0 -1
  996. package/docs/variables/version.html +0 -1
  997. package/src/html/tts-testing.html +0 -341
  998. package/src/scss/_ads.scss +0 -50
  999. package/src/scss/_cast-receiver.scss +0 -88
  1000. package/src/scss/_mixins.scss +0 -164
  1001. package/src/scss/_small-screen.scss +0 -60
  1002. package/src/scss/_tv.scss +0 -8
  1003. package/src/scss/_variables.scss +0 -134
  1004. package/src/scss/components/_container.scss +0 -9
  1005. package/src/scss/components/_control-bar.scss +0 -51
  1006. package/src/scss/components/_icon.scss +0 -25
  1007. package/src/scss/components/_title-bar.scss +0 -63
  1008. package/src/scss/components/_uicontainer.scss +0 -43
  1009. package/src/scss/components/_watermark.scss +0 -26
  1010. package/src/scss/components/ads/_ad-control-bar.scss +0 -71
  1011. package/src/scss/components/ads/_ad-counter-label.scss +0 -5
  1012. package/src/scss/components/ads/_ad-message-label.scss +0 -16
  1013. package/src/scss/components/ads/_ad-skip-button.scss +0 -32
  1014. package/src/scss/components/ads/_ad-status-overlay.scss +0 -23
  1015. package/src/scss/components/buttons/_airplay-toggle-button.scss +0 -21
  1016. package/src/scss/components/buttons/_audio-track-list-box-toggle-button.scss +0 -15
  1017. package/src/scss/components/buttons/_audio-tracks-settings-panel-toggle-button.scss +0 -12
  1018. package/src/scss/components/buttons/_button.scss +0 -49
  1019. package/src/scss/components/buttons/_cast-toggle-button.scss +0 -14
  1020. package/src/scss/components/buttons/_close-button.scss +0 -34
  1021. package/src/scss/components/buttons/_eco-mode-toggle-button.scss +0 -42
  1022. package/src/scss/components/buttons/_fullscreen-toggle-button.scss +0 -20
  1023. package/src/scss/components/buttons/_huge-playback-toggle-button.scss +0 -92
  1024. package/src/scss/components/buttons/_huge-replay-button.scss +0 -17
  1025. package/src/scss/components/buttons/_picture-in-picture-toggle-button.scss +0 -20
  1026. package/src/scss/components/buttons/_playback-toggle-button.scss +0 -26
  1027. package/src/scss/components/buttons/_quick-seek-button.scss +0 -22
  1028. package/src/scss/components/buttons/_replay-button.scss +0 -14
  1029. package/src/scss/components/buttons/_small-centered-playback-toggle-button.scss +0 -44
  1030. package/src/scss/components/buttons/_subtitle-list-box-toggle-button.scss +0 -15
  1031. package/src/scss/components/buttons/_volume-control-button.scss +0 -30
  1032. package/src/scss/components/buttons/_volume-toggle-button.scss +0 -44
  1033. package/src/scss/components/buttons/_vr-toggle-button.scss +0 -15
  1034. package/src/scss/components/labels/_label.scss +0 -28
  1035. package/src/scss/components/labels/_playback-time-label.scss +0 -24
  1036. package/src/scss/components/overlays/_buffering-overlay.scss +0 -80
  1037. package/src/scss/components/overlays/_cast-status-overlay.scss +0 -27
  1038. package/src/scss/components/overlays/_click-overlay.scss +0 -7
  1039. package/src/scss/components/overlays/_click-to-dismiss-overlay.scss +0 -7
  1040. package/src/scss/components/overlays/_error-message-overlay.scss +0 -44
  1041. package/src/scss/components/overlays/_playback-toggle-overlay.scss +0 -10
  1042. package/src/scss/components/overlays/_recommendation-overlay.scss +0 -110
  1043. package/src/scss/components/overlays/_subtitle-overlay-cea608.scss +0 -45
  1044. package/src/scss/components/overlays/_subtitle-overlay.scss +0 -77
  1045. package/src/scss/components/overlays/_touch-control-overlay.scss +0 -77
  1046. package/src/scss/components/seekbar/_seek-bar-label.scss +0 -68
  1047. package/src/scss/components/seekbar/_seek-bar.scss +0 -164
  1048. package/src/scss/components/seekbar/_volume-slider.scss +0 -21
  1049. package/src/scss/components/settings/_select-box.scss +0 -22
  1050. package/src/scss/components/settings/_settings-panel-item.scss +0 -80
  1051. package/src/scss/components/settings/_settings-panel-navigation-text-button.scss +0 -21
  1052. package/src/scss/components/settings/_settings-panel-page-back-button.scss +0 -31
  1053. package/src/scss/components/settings/_settings-panel-page-open-button.scss +0 -25
  1054. package/src/scss/components/settings/_settings-panel-page.scss +0 -13
  1055. package/src/scss/components/settings/_settings-panel.scss +0 -50
  1056. package/src/scss/components/settings/_settings-toggle-button.scss +0 -25
  1057. package/src/scss/components/settings/subtitlesettings/_subtitle-overlay-settings.scss +0 -155
  1058. package/src/scss/components/settings/subtitlesettings/_subtitle-settings.scss +0 -2
  1059. package/src/ts/DOM.ts +0 -623
  1060. package/src/ts/EventDispatcher.ts +0 -270
  1061. package/src/ts/UIConfig.ts +0 -172
  1062. package/src/ts/UIFactory.ts +0 -764
  1063. package/src/ts/UIManager.ts +0 -1067
  1064. package/src/ts/components/CastUIContainer.ts +0 -80
  1065. package/src/ts/components/Component.ts +0 -621
  1066. package/src/ts/components/Container.ts +0 -201
  1067. package/src/ts/components/ControlBar.ts +0 -99
  1068. package/src/ts/components/DummyComponent.ts +0 -24
  1069. package/src/ts/components/EcoModeContainer.ts +0 -134
  1070. package/src/ts/components/Icon.ts +0 -35
  1071. package/src/ts/components/RecommendationItem.ts +0 -129
  1072. package/src/ts/components/Spacer.ts +0 -32
  1073. package/src/ts/components/TitleBar.ts +0 -121
  1074. package/src/ts/components/TvNoiseCanvas.ts +0 -108
  1075. package/src/ts/components/UIContainer.ts +0 -495
  1076. package/src/ts/components/Watermark.ts +0 -34
  1077. package/src/ts/components/ads/AdClickOverlay.ts +0 -52
  1078. package/src/ts/components/ads/AdControlBar.ts +0 -116
  1079. package/src/ts/components/ads/AdCounterLabel.ts +0 -38
  1080. package/src/ts/components/ads/AdMessageLabel.ts +0 -46
  1081. package/src/ts/components/ads/AdSkipButton.ts +0 -97
  1082. package/src/ts/components/ads/AdStatusOverlay.ts +0 -33
  1083. package/src/ts/components/buttons/AirPlayToggleButton.ts +0 -67
  1084. package/src/ts/components/buttons/Button.ts +0 -175
  1085. package/src/ts/components/buttons/CastToggleButton.ts +0 -70
  1086. package/src/ts/components/buttons/CloseButton.ts +0 -47
  1087. package/src/ts/components/buttons/EcoModeToggleButton.ts +0 -92
  1088. package/src/ts/components/buttons/FullscreenToggleButton.ts +0 -69
  1089. package/src/ts/components/buttons/HugePlaybackToggleButton.ts +0 -177
  1090. package/src/ts/components/buttons/HugeReplayButton.ts +0 -33
  1091. package/src/ts/components/buttons/PictureInPictureToggleButton.ts +0 -72
  1092. package/src/ts/components/buttons/PlaybackToggleButton.ts +0 -153
  1093. package/src/ts/components/buttons/QuickSeekButton.ts +0 -139
  1094. package/src/ts/components/buttons/ReplayButton.ts +0 -54
  1095. package/src/ts/components/buttons/SmallCenteredPlaybackToggleButton.ts +0 -103
  1096. package/src/ts/components/buttons/ToggleButton.ts +0 -217
  1097. package/src/ts/components/buttons/VRToggleButton.ts +0 -94
  1098. package/src/ts/components/buttons/VolumeControlButton.ts +0 -133
  1099. package/src/ts/components/buttons/VolumeToggleButton.ts +0 -49
  1100. package/src/ts/components/labels/Label.ts +0 -195
  1101. package/src/ts/components/labels/MetadataLabel.ts +0 -77
  1102. package/src/ts/components/labels/PlaybackTimeLabel.ts +0 -212
  1103. package/src/ts/components/lists/AudioTrackListBox.ts +0 -25
  1104. package/src/ts/components/lists/ItemSelectionList.ts +0 -116
  1105. package/src/ts/components/lists/ListBox.ts +0 -96
  1106. package/src/ts/components/lists/ListSelector.ts +0 -279
  1107. package/src/ts/components/lists/SubtitleListBox.ts +0 -26
  1108. package/src/ts/components/overlays/BufferingOverlay.ts +0 -93
  1109. package/src/ts/components/overlays/CastStatusOverlay.ts +0 -53
  1110. package/src/ts/components/overlays/ClickOverlay.ts +0 -60
  1111. package/src/ts/components/overlays/DismissClickOverlay.ts +0 -40
  1112. package/src/ts/components/overlays/ErrorMessageOverlay.ts +0 -192
  1113. package/src/ts/components/overlays/PlaybackToggleOverlay.ts +0 -40
  1114. package/src/ts/components/overlays/RecommendationOverlay.ts +0 -91
  1115. package/src/ts/components/overlays/SubtitleOverlay.ts +0 -851
  1116. package/src/ts/components/overlays/TouchControlOverlay.ts +0 -262
  1117. package/src/ts/components/seekbar/SeekBar.ts +0 -1241
  1118. package/src/ts/components/seekbar/SeekBarLabel.ts +0 -255
  1119. package/src/ts/components/seekbar/VolumeSlider.ts +0 -149
  1120. package/src/ts/components/settings/AudioQualitySelectBox.ts +0 -70
  1121. package/src/ts/components/settings/AudioTrackSelectBox.ts +0 -30
  1122. package/src/ts/components/settings/DynamicSettingsPanelItem.ts +0 -171
  1123. package/src/ts/components/settings/InteractiveSettingsPanelItem.ts +0 -65
  1124. package/src/ts/components/settings/PlaybackSpeedSelectBox.ts +0 -72
  1125. package/src/ts/components/settings/SelectBox.ts +0 -218
  1126. package/src/ts/components/settings/SettingsPanel.ts +0 -462
  1127. package/src/ts/components/settings/SettingsPanelItem.ts +0 -162
  1128. package/src/ts/components/settings/SettingsPanelPage.ts +0 -138
  1129. package/src/ts/components/settings/SettingsPanelPageBackButton.ts +0 -32
  1130. package/src/ts/components/settings/SettingsPanelPageNavigatorButton.ts +0 -73
  1131. package/src/ts/components/settings/SettingsPanelPageOpenButton.ts +0 -34
  1132. package/src/ts/components/settings/SettingsPanelSelectOption.ts +0 -70
  1133. package/src/ts/components/settings/SettingsToggleButton.ts +0 -119
  1134. package/src/ts/components/settings/SubtitleSelectBox.ts +0 -32
  1135. package/src/ts/components/settings/VideoQualitySelectBox.ts +0 -84
  1136. package/src/ts/components/settings/subtitlesettings/BackgroundColorSelectBox.ts +0 -73
  1137. package/src/ts/components/settings/subtitlesettings/BackgroundOpacitySelectBox.ts +0 -57
  1138. package/src/ts/components/settings/subtitlesettings/CharacterEdgeColorSelectBox.ts +0 -60
  1139. package/src/ts/components/settings/subtitlesettings/CharacterEdgeSelectBox.ts +0 -72
  1140. package/src/ts/components/settings/subtitlesettings/FontColorSelectBox.ts +0 -73
  1141. package/src/ts/components/settings/subtitlesettings/FontFamilySelectBox.ts +0 -56
  1142. package/src/ts/components/settings/subtitlesettings/FontOpacitySelectBox.ts +0 -56
  1143. package/src/ts/components/settings/subtitlesettings/FontSizeSelectBox.ts +0 -79
  1144. package/src/ts/components/settings/subtitlesettings/FontStyleSelectBox.ts +0 -53
  1145. package/src/ts/components/settings/subtitlesettings/SubtitleSettingSelectBox.ts +0 -52
  1146. package/src/ts/components/settings/subtitlesettings/SubtitleSettingsPanelPage.ts +0 -195
  1147. package/src/ts/components/settings/subtitlesettings/SubtitleSettingsResetButton.ts +0 -37
  1148. package/src/ts/components/settings/subtitlesettings/WindowColorSelectBox.ts +0 -73
  1149. package/src/ts/components/settings/subtitlesettings/WindowOpacitySelectBox.ts +0 -57
  1150. package/src/ts/spatialnavigation/FocusableContainer.ts +0 -38
  1151. package/src/ts/spatialnavigation/NavigationAlgorithm.ts +0 -174
  1152. package/src/ts/spatialnavigation/NavigationGroup.ts +0 -322
  1153. package/src/ts/spatialnavigation/NodeEventSubscriber.ts +0 -76
  1154. package/src/ts/spatialnavigation/RecommendationOverlayNavigationGroup.ts +0 -29
  1155. package/src/ts/spatialnavigation/RootNavigationGroup.ts +0 -41
  1156. package/src/ts/spatialnavigation/SeekBarHandler.ts +0 -165
  1157. package/src/ts/spatialnavigation/SettingsPanelNavigationGroup.ts +0 -91
  1158. package/src/ts/spatialnavigation/SpatialNavigation.ts +0 -158
  1159. package/src/ts/spatialnavigation/TypeGuards.ts +0 -32
  1160. package/src/ts/spatialnavigation/getKeyMapForPlatform.ts +0 -143
  1161. package/src/ts/spatialnavigation/helper/resolveAllComponents.ts +0 -21
  1162. package/src/ts/spatialnavigation/helper/toHtmlElement.ts +0 -10
  1163. package/src/ts/utils/AudioTrackUtils.ts +0 -79
  1164. package/src/ts/utils/BrowserUtils.ts +0 -141
  1165. package/src/ts/utils/ErrorUtils.ts +0 -88
  1166. package/src/ts/utils/FocusVisibilityTracker.ts +0 -69
  1167. package/src/ts/utils/GroupPlaybackAPI.ts +0 -92
  1168. package/src/ts/utils/Guid.ts +0 -7
  1169. package/src/ts/utils/ImageLoader.ts +0 -73
  1170. package/src/ts/utils/MobileV3PlayerAPI.ts +0 -37
  1171. package/src/ts/utils/PlayerUtils.ts +0 -204
  1172. package/src/ts/utils/SeekBarController.ts +0 -124
  1173. package/src/ts/utils/StorageUtils.ts +0 -88
  1174. package/src/ts/utils/StringUtils.ts +0 -212
  1175. package/src/ts/utils/SubtitleSettingsManager.ts +0 -177
  1176. package/src/ts/utils/SubtitleUtils.ts +0 -111
  1177. package/src/ts/utils/TimelineMarkersHandler.ts +0 -288
  1178. package/src/ts/utils/Timeout.ts +0 -109
  1179. package/src/ts/utils/UIUtils.ts +0 -38
  1180. package/src/ts/utils/VolumeController.ts +0 -131
  1181. package/src/ts/utils/VttUtils.ts +0 -243
  1182. package/src/ts/utils/getMinBufferLevel.ts +0 -21
  1183. package/webpack.config.js +0 -167
  1184. /package/dist/js/framework/{utils/ArrayUtils.d.ts → arrayutils.d.ts} +0 -0
  1185. /package/dist/js/framework/{utils/getMinBufferLevel.d.ts → components/seekbarbufferlevel.d.ts} +0 -0
  1186. /package/dist/js/framework/{EventDispatcher.d.ts → eventdispatcher.d.ts} +0 -0
  1187. /package/dist/js/framework/{utils/FocusVisibilityTracker.d.ts → focusvisibilitytracker.d.ts} +0 -0
  1188. /package/dist/js/framework/{utils/GroupPlaybackAPI.d.ts → groupplaybackapi.d.ts} +0 -0
  1189. /package/dist/js/framework/{utils/Guid.d.ts → guid.d.ts} +0 -0
  1190. /package/dist/js/framework/{utils/ImageLoader.d.ts → imageloader.d.ts} +0 -0
  1191. /package/dist/js/framework/spatialnavigation/{getKeyMapForPlatform.d.ts → keymap.d.ts} +0 -0
  1192. /package/dist/js/framework/spatialnavigation/{NodeEventSubscriber.d.ts → nodeeventsubscriber.d.ts} +0 -0
  1193. /package/dist/js/framework/spatialnavigation/{NodeEventSubscriber.js → nodeeventsubscriber.js} +0 -0
  1194. /package/dist/js/framework/{utils/StringUtils.d.ts → stringutils.d.ts} +0 -0
  1195. /package/dist/js/framework/{utils/Timeout.d.ts → timeout.d.ts} +0 -0
  1196. /package/dist/js/framework/{utils/Timeout.js → timeout.js} +0 -0
  1197. /package/dist/js/framework/{UIConfig.js → uiconfig.js} +0 -0
  1198. /package/src/scss/{components → skin-modern/components}/_component.scss +0 -0
  1199. /package/src/scss/{components → skin-modern/components}/_spacer.scss +0 -0
  1200. /package/src/ts/{utils/ArrayUtils.ts → arrayutils.ts} +0 -0
@@ -0,0 +1,11 @@
1
+ blank_issues_enabled: false
2
+ contact_links:
3
+ - name: Report a Bug
4
+ url: https://dashboard.bitmovin.com/support/tickets
5
+ about: Report a Bug you encountered in our Bitmovin Player UI in your Bitmovin Customer Dashboard.
6
+ - name: Feature Requests
7
+ url: https://community.bitmovin.com/t/how-to-submit-a-feature-request-to-us/1463
8
+ about: Learn how to suggest new features for our Player SDKs.
9
+ - name: Report a security vulnerability
10
+ url: https://bitmovin.atlassian.net/wiki/external/1502085332/YTYwODMwZjQyNjkwNGQ0ODg5MTgwM2NhMDliNjRmODE
11
+ about: Report a security vulnerability.
@@ -0,0 +1,7 @@
1
+ ## Description
2
+ <!-- Add a short description about the changes -->
3
+
4
+ ## Checklist (for PR submitter and reviewers)
5
+ <!-- A PR with CHANGELOG entry will be released automatically -->
6
+ <!-- This is required and should be added in every case -->
7
+ - [ ] `CHANGELOG` entry
@@ -0,0 +1,15 @@
1
+ name: 'Setup Dependencies'
2
+ description: 'Sets up Node.js, caches node modules, and installs dependencies'
3
+
4
+ runs:
5
+ using: 'composite'
6
+ steps:
7
+ - name: Set up node.js
8
+ uses: actions/setup-node@v5
9
+ with:
10
+ node-version-file: .nvmrc
11
+ cache: 'npm'
12
+
13
+ - name: Install dependencies
14
+ run: npm ci
15
+ shell: bash
@@ -0,0 +1,61 @@
1
+ const semver = require('semver');
2
+
3
+ /**
4
+ * Calculates the full version number based on release type and input version
5
+ *
6
+ * @param {object} core - GitHub Actions core object for logging
7
+ * @param {string} inputVersionNumber - Base version number (e.g., "3.102.1")
8
+ * @param {string} releaseType - Type of release (alpha, beta, rc, final)
9
+ * @param {string} latestTag - Latest existing tag for this version and release type - optional
10
+ * @returns {object} - Returns object with version_number, major_version, and tag_name
11
+ */
12
+ function calculateVersionNumber(core, inputVersionNumber, releaseType, latestTag = '') {
13
+ const isValid = semver.valid(inputVersionNumber);
14
+ if (!isValid) {
15
+ throw new Error(`Invalid version number: ${inputVersionNumber}`);
16
+ }
17
+
18
+ let fullVersion;
19
+ if (releaseType === 'final') {
20
+ fullVersion = inputVersionNumber;
21
+ } else {
22
+ // Use long prerelease identifiers directly (alpha, beta, rc)
23
+ const preReleaseTag = releaseType;
24
+ if (!['alpha', 'beta', 'rc'].includes(preReleaseTag)) {
25
+ throw new Error(`Invalid release type: ${releaseType}`);
26
+ }
27
+
28
+ let nextNumber = 1;
29
+ if (latestTag) {
30
+ const match = latestTag.match(new RegExp(`^v${inputVersionNumber.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')}-${preReleaseTag}\\.(\\d+)$`));
31
+ if (match) {
32
+ nextNumber = parseInt(match[1]) + 1;
33
+ }
34
+ }
35
+
36
+ fullVersion = `${inputVersionNumber}-${preReleaseTag}.${nextNumber}`;
37
+ core.info(`Pre-release tag: ${preReleaseTag}, Latest tag: ${latestTag || 'none'}, next number: ${nextNumber}`);
38
+ }
39
+
40
+ const isFullVersionValid = semver.valid(fullVersion);
41
+ if (!isFullVersionValid) {
42
+ throw new Error(`Generated invalid version: ${fullVersion}`);
43
+ }
44
+
45
+ const majorVersion = semver.major(fullVersion);
46
+ const tagName = `v${fullVersion}`;
47
+
48
+ core.info(`Input version: ${inputVersionNumber}`);
49
+ core.info(`Release type: ${releaseType}`);
50
+ core.info(`Full version: ${fullVersion}`);
51
+ core.info(`Major version: ${majorVersion}`);
52
+ core.info(`Tag name: ${tagName}`);
53
+
54
+ return {
55
+ version_number: fullVersion,
56
+ major_version: majorVersion,
57
+ tag_name: tagName
58
+ };
59
+ }
60
+
61
+ module.exports.calculateVersionNumber = calculateVersionNumber;
@@ -0,0 +1,29 @@
1
+ const semver = require('semver');
2
+
3
+ function getPlayerUiVersion(versionInput) {
4
+ const playerUiVersion = semver.valid(versionInput);
5
+ if (!playerUiVersion) {
6
+ console.error(`${versionInput} is not a valid semver`);
7
+ process.exit(1);
8
+ }
9
+
10
+ return {
11
+ major: semver.major(playerUiVersion),
12
+ minor: semver.minor(playerUiVersion),
13
+ patch: semver.patch(playerUiVersion),
14
+ prereleaseLabels: semver.prerelease(playerUiVersion),
15
+ full: playerUiVersion,
16
+ };
17
+ }
18
+
19
+ function defineReleaseVersion({ core }, targetReleaseLevel, givenVersion) {
20
+ core.info(`Defining new release version for level ${targetReleaseLevel} and version ${givenVersion}`);
21
+
22
+ const newVersion = semver.inc(givenVersion, targetReleaseLevel);
23
+
24
+ const parsedPlayerVersion = getPlayerUiVersion(newVersion);
25
+ core.info(`Using release version ${parsedPlayerVersion.full}`);
26
+ return parsedPlayerVersion;
27
+ }
28
+
29
+ module.exports.defineReleaseVersion = defineReleaseVersion;
@@ -0,0 +1,46 @@
1
+ const fs = require('fs');
2
+
3
+ /**
4
+ * Detects the release level (minor or patch) based on changelog content
5
+ *
6
+ * @param {object} core - GitHub Actions core object for logging
7
+ * @param {string} changelogPath - Path to the changelog file (defaults to './CHANGELOG.md')
8
+ * @returns {string} - Returns 'minor' or 'patch'
9
+ */
10
+ function detectReleaseLevel(core, changelogPath = './CHANGELOG.md') {
11
+ const changelogContent = fs.readFileSync(changelogPath, { encoding: 'utf8', flag: 'r' });
12
+
13
+ const unreleasedMatch = changelogContent.match(/## \[?unreleased\]?/i);
14
+ if (!unreleasedMatch) {
15
+ throw new Error('No unreleased section found in CHANGELOG.md');
16
+ }
17
+
18
+ const unreleasedStart = unreleasedMatch.index + unreleasedMatch[0].length;
19
+ const nextSectionMatch = changelogContent.substring(unreleasedStart).match(/^## /m);
20
+ const unreleasedEnd = nextSectionMatch ? unreleasedStart + nextSectionMatch.index : changelogContent.length;
21
+ const unreleasedContent = changelogContent.substring(unreleasedStart, unreleasedEnd);
22
+
23
+ core.info('Unreleased section content:');
24
+ core.info(unreleasedContent);
25
+
26
+ const hasAdded = /### added/i.test(unreleasedContent);
27
+ const hasChanged = /### changed/i.test(unreleasedContent);
28
+ const hasRemoved = /### removed/i.test(unreleasedContent);
29
+ const hasFixed = /### fixed/i.test(unreleasedContent);
30
+
31
+ let releaseLevel;
32
+ if (hasAdded || hasChanged || hasRemoved) {
33
+ releaseLevel = 'minor';
34
+ core.info('Found Added, Changed, or Removed sections - will create minor release');
35
+ } else if (hasFixed) {
36
+ releaseLevel = 'patch';
37
+ core.info('Found only Fixed sections - will create patch release');
38
+ } else {
39
+ throw new Error('No valid changelog entries found in unreleased section');
40
+ }
41
+
42
+ core.info(`Release level: ${releaseLevel}`);
43
+ return releaseLevel;
44
+ }
45
+
46
+ module.exports.detectReleaseLevel = detectReleaseLevel;
@@ -0,0 +1,106 @@
1
+ const fs = require('fs');
2
+ const https = require('https');
3
+
4
+ const versionNumber = process.argv[2];
5
+ const jobStatus = process.argv[3];
6
+ const changelogPath = process.argv[4];
7
+ const slackWebhookUrl = process.argv[5];
8
+ const runId = process.argv[6];
9
+
10
+ const failureSlackChannelId = 'CGRK9DV7H';
11
+ const successSlackChannelId = 'C0LJ16JBS';
12
+
13
+ fs.readFile(changelogPath, 'utf8', (err, fileContent) => {
14
+ if (err) {
15
+ throw err;
16
+ }
17
+
18
+ const changelogContent = parseChangelogEntry(fileContent);
19
+ sendSlackMessage(versionNumber, changelogContent);
20
+ });
21
+
22
+
23
+ function parseChangelogEntry(fileContent) {
24
+ // The regex looks for the first paragraph starting with "###" until it finds
25
+ // a paragraph starting with "##".
26
+ // For some reason it also matches 2 chars at the end. With the .slice
27
+ // those 2 chars get removed from the string.
28
+ const regex = /###(.)*[\s\S]*?(?=\s##\s\[v*?)/;
29
+
30
+ let changelogContent = fileContent.match(regex);
31
+ changelogContent = changelogContent.slice(0, -1);
32
+ return changelogContent.toString();
33
+ }
34
+
35
+ function sendSlackMessage(releaseVersion, changelogContent) {
36
+ const slackChannelId = jobStatus === 'success' ? successSlackChannelId : failureSlackChannelId;
37
+ const generalPayload = {
38
+ channel: slackChannelId
39
+ };
40
+
41
+ let payload;
42
+ if (jobStatus === 'success') {
43
+ payload = {
44
+ ...generalPayload,
45
+ text: `New Bitmovin Player UI version is released!`,
46
+ attachments: [
47
+ {
48
+ title: `CHANGELOG v${releaseVersion}`,
49
+ color: '#0e7aff',
50
+ fallback: 'Changelog of the newest release should be displayed here',
51
+ text: changelogContent,
52
+ fields: [
53
+ {
54
+ title: 'Version',
55
+ value: `v${releaseVersion}`,
56
+ short: true,
57
+ },
58
+ {
59
+ title: 'Channel',
60
+ value: releaseVersion.includes('-') ? 'pre-release' : 'release',
61
+ short: true,
62
+ },
63
+ ],
64
+ },
65
+ ],
66
+ }
67
+ } else {
68
+ payload = {
69
+ ...generalPayload,
70
+ text: `<!subteam^S06RHTF937F> Release *v${releaseVersion}* failed.`,
71
+ attachments: [
72
+ {
73
+ title: `Release Failure`,
74
+ color: '#ff0000',
75
+ fallback: 'Release failed',
76
+ text: `Please check the <https://github.com/bitmovin/bitmovin-player-ui/actions/runs/${runId}|failed run>`,
77
+ },
78
+ ],
79
+ }
80
+ }
81
+
82
+ const sampleData = JSON.stringify(payload);
83
+ const options = {
84
+ method: 'POST',
85
+ headers: {
86
+ 'Content-Type': 'application/json',
87
+ 'Accept': "application/json",
88
+ }
89
+ };
90
+
91
+ var req = https.request(slackWebhookUrl, options, (res) => {
92
+ console.log('statusCode:', res.statusCode);
93
+ console.log('headers:', res.headers);
94
+
95
+ res.on('data', (d) => {
96
+ process.stdout.write(d);
97
+ });
98
+ });
99
+
100
+ req.on('error', (e) => {
101
+ console.error(e);
102
+ });
103
+
104
+ req.write(sampleData);
105
+ req.end();
106
+ }
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Updates the changelog by replacing the changelog header with the correct version
3
+ *
4
+ * @param {string} changelogString the content of the changelog file
5
+ * @param {string} version the player version to be released
6
+ * @param {string} releaseDate the release date to be written to the changelog
7
+ */
8
+ function updateChangeLog(changelogString, version, releaseDate) {
9
+ const optionalBetaOrRc = '(-rc.d+)?(-(b|beta).d+)?';
10
+ const changelogVersionRegExp = new RegExp(
11
+ `\\[(development|develop|unreleased|${version})${optionalBetaOrRc}.*`,
12
+ 'gi',
13
+ );
14
+
15
+ const lastReleaseVersion = changelogString.match(/## \[(\d+.\d+.\d+)\] - \d{4}-\d{2}-\d{2}/)[1];
16
+ const changelogWithReleaseVersionAndDate = changelogString.replace(changelogVersionRegExp, `[${version}] - ${releaseDate}`);
17
+
18
+ return changelogWithReleaseVersionAndDate.replace(
19
+ '## 1.0.0 (2017-02-03)\n- First release\n\n',
20
+ `## 1.0.0 (2017-02-03)\n- First release\n\n[${version}]: https://github.com/bitmovin/bitmovin-player-ui/compare/v${lastReleaseVersion}...v${version}\n`
21
+ );
22
+ }
23
+
24
+ module.exports.updateChangeLog = updateChangeLog;
@@ -0,0 +1,55 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - '**'
7
+
8
+ workflow_call:
9
+
10
+ concurrency:
11
+ group: ${{ github.event_name == 'workflow_call' && format('release-ci-{0}', github.run_id) || format('ci-{0}', github.ref) }}
12
+ cancel-in-progress: true
13
+
14
+ jobs:
15
+ test:
16
+ name: Test
17
+ runs-on: ubuntu-latest
18
+
19
+ steps:
20
+ - name: Checkout
21
+ uses: actions/checkout@v4
22
+
23
+ - name: Setup dependencies
24
+ uses: ./.github/actions/setup-dependencies
25
+
26
+ - name: Test
27
+ run: npm test
28
+
29
+ build:
30
+ name: Build
31
+ runs-on: ubuntu-latest
32
+
33
+ steps:
34
+ - name: Checkout
35
+ uses: actions/checkout@v4
36
+
37
+ - name: Setup dependencies
38
+ uses: ./.github/actions/setup-dependencies
39
+
40
+ - name: Build
41
+ run: npx gulp build
42
+
43
+ lint:
44
+ name: Lint
45
+ runs-on: ubuntu-latest
46
+
47
+ steps:
48
+ - name: Checkout
49
+ uses: actions/checkout@v4
50
+
51
+ - name: Setup dependencies
52
+ uses: ./.github/actions/setup-dependencies
53
+
54
+ - name: Lint
55
+ run: npx gulp lint
@@ -0,0 +1,238 @@
1
+ name: Release
2
+ run-name: Release ${{ inputs.version_number }} ${{ inputs.release_type }}${{ inputs.dry_run && ' (dry run)' || '' }}
3
+
4
+ on:
5
+ # For manually triggered workflows
6
+ workflow_dispatch:
7
+ inputs:
8
+ version_number:
9
+ description: "Version number of the release (no `v` prefix and no `-rc.`, `-beta.`, `-alpha.` suffix)"
10
+ type: string
11
+ required: true
12
+ release_type:
13
+ description: Select the type of the release
14
+ type: choice
15
+ options:
16
+ - alpha
17
+ - beta
18
+ - rc
19
+ - final
20
+ required: true
21
+ dry_run:
22
+ description: 'Run in dry run mode (skip commits, publishing, docs, and notifications)'
23
+ type: boolean
24
+ default: false
25
+
26
+ # For being called by other workflows
27
+ workflow_call:
28
+ inputs:
29
+ version_number:
30
+ description: "Version number of the release (no `v` prefix and no `-rc.`, `-beta.`, `-alpha.` suffix)"
31
+ type: string
32
+ required: true
33
+ release_type:
34
+ description: Select the type of the release
35
+ type: string
36
+ required: true
37
+ branch_name:
38
+ description: Branch from which the release should be built. Useful when another workflow calls this one.
39
+ type: string
40
+ required: true
41
+ dry_run:
42
+ description: 'Run in dry run mode (skip commits, publishing, docs, and notifications)'
43
+ type: boolean
44
+ default: false
45
+ secrets:
46
+ NPM_AUTH_TOKEN:
47
+ description: 'NPM authentication token for publishing'
48
+ required: true
49
+ GCS_CREDENTIALS:
50
+ description: 'Google Cloud Storage credentials for uploading docs'
51
+ required: true
52
+ SLACK_WEBHOOK_URL:
53
+ description: 'Slack webhook URL for notifications'
54
+ required: true
55
+ RELEASE_DEPLOY_KEY:
56
+ description: 'SSH deploy key with write access to the repository'
57
+ required: true
58
+
59
+ concurrency:
60
+ group: release-${{ inputs.version_number }}-${{ inputs.release_type }}
61
+ cancel-in-progress: true
62
+
63
+ jobs:
64
+ test:
65
+ name: Test, Build and Lint
66
+ uses: ./.github/workflows/ci.yml
67
+
68
+ version_bump:
69
+ needs: test
70
+ name: Version Bump
71
+ runs-on: ubuntu-latest
72
+ outputs:
73
+ major_version: ${{ steps.version_number.outputs.major_version }}
74
+ version_number: ${{ steps.version_number.outputs.version_number }}
75
+ tag_name: ${{ steps.version_number.outputs.tag_name }}
76
+ steps:
77
+ - uses: actions/checkout@v4
78
+ with:
79
+ ssh-key: ${{ secrets.RELEASE_DEPLOY_KEY }}
80
+ ref: ${{ inputs.branch_name || github.ref }}
81
+ # Fetch existing tags because we need to create a new one
82
+ # fetch-tags: true # do not use, currently broken: https://github.com/actions/checkout/issues/1781
83
+ fetch-depth: 0 # remove this line when `fetch-tags: true` is fixed
84
+
85
+ - name: Setup dependencies
86
+ uses: ./.github/actions/setup-dependencies
87
+
88
+ - name: Get latest pre-release tag
89
+ id: latest_tag
90
+ if: inputs.release_type != 'final'
91
+ run: |
92
+ preReleaseTag="${{ inputs.release_type == 'final' && '' || inputs.release_type }}"
93
+ latest_tag=$(git tag --list "v${{ inputs.version_number }}-$preReleaseTag.*" | sort -V -r | head -n1 || echo "")
94
+ echo "latest_tag=$latest_tag" >> $GITHUB_OUTPUT
95
+
96
+ - name: Calculate version number
97
+ uses: actions/github-script@v6
98
+ id: version_number
99
+ with:
100
+ script: |
101
+ const { calculateVersionNumber } = require('./.github/scripts/calculateVersionNumber.js');
102
+
103
+ const inputVersionNumber = '${{ inputs.version_number }}';
104
+ const releaseType = '${{ inputs.release_type }}';
105
+ const latestTag = '${{ steps.latest_tag.outputs.latest_tag }}';
106
+
107
+ try {
108
+ const result = calculateVersionNumber(core, inputVersionNumber, releaseType, latestTag);
109
+
110
+ core.setOutput('version_number', result.version_number);
111
+ core.setOutput('major_version', result.major_version);
112
+ core.setOutput('tag_name', result.tag_name);
113
+ } catch (error) {
114
+ core.setFailed(error.message);
115
+ }
116
+
117
+ - name: Bump version in package.json
118
+ run: |
119
+ npm version "${{ steps.version_number.outputs.version_number }}" --no-git-tag-version
120
+ shell: bash
121
+
122
+ - name: Update changelog
123
+ if: inputs.release_type == 'final'
124
+ uses: actions/github-script@v6
125
+ with:
126
+ script: |
127
+ const fs = require('fs');
128
+ const { updateChangeLog } = require('./.github/scripts/updateChangelog.js');
129
+
130
+ const versionNumber = '${{ steps.version_number.outputs.version_number }}';
131
+ const releaseDate = new Date().toISOString().split('T')[0];
132
+
133
+ core.info(`Updating changelog with version ${versionNumber} and date ${releaseDate}`);
134
+
135
+ const changelogContent = fs.readFileSync('./CHANGELOG.md', { encoding: 'utf8', flag: 'r' });
136
+ const updatedChangelog = updateChangeLog(changelogContent, versionNumber, releaseDate);
137
+
138
+ fs.writeFileSync('./CHANGELOG.md', updatedChangelog, 'utf-8');
139
+ core.info('Changelog updated successfully');
140
+
141
+ - name: Commit and tag the changes
142
+ if: inputs.dry_run != true
143
+ run: |
144
+ git config --global user.name 'Automated Release'
145
+ git config --global user.email 'release-automation@bitmovin.com'
146
+ git add package.json CHANGELOG.md
147
+ git commit -m "[skip ci] Bump version to ${{ steps.version_number.outputs.version_number }}"
148
+ git tag "${{ steps.version_number.outputs.tag_name }}"
149
+ git push origin ${{ inputs.branch_name || github.ref_name }}
150
+ git push origin "${{ steps.version_number.outputs.tag_name }}"
151
+
152
+ release:
153
+ name: Publish Release
154
+ needs: [test, version_bump]
155
+ runs-on: ubuntu-latest
156
+ steps:
157
+ - name: Checkout
158
+ uses: actions/checkout@v4
159
+ with:
160
+ ref: ${{ inputs.dry_run == true && github.ref || needs.version_bump.outputs.tag_name }}
161
+
162
+ - name: Setup dependencies
163
+ uses: ./.github/actions/setup-dependencies
164
+
165
+ - name: Build Release
166
+ run: npx gulp npm-prepare
167
+ shell: bash
168
+
169
+ - name: Publish to NPM
170
+ run: ./publish.sh --version "${{ needs.version_bump.outputs.version_number }}" ${{ inputs.dry_run == true && '--dry-run' || '' }}
171
+ shell: bash
172
+ env:
173
+ NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
174
+
175
+ upload_docs:
176
+ name: Build and upload Documentation
177
+ needs: [test, version_bump, release]
178
+ runs-on: ubuntu-latest
179
+ steps:
180
+ - name: Checkout
181
+ uses: actions/checkout@v4
182
+ with:
183
+ ref: ${{ inputs.dry_run == true && github.ref || needs.version_bump.outputs.tag_name }}
184
+
185
+ - name: Setup dependencies
186
+ uses: ./.github/actions/setup-dependencies
187
+
188
+ - name: Build documentation
189
+ run: npx typedoc
190
+ shell: bash
191
+
192
+ - name: Authenticate
193
+ if: inputs.dry_run != true
194
+ uses: 'google-github-actions/auth@v2'
195
+ with:
196
+ credentials_json: ${{ secrets.GCS_CREDENTIALS }}
197
+
198
+ - name: Upload docs
199
+ if: inputs.dry_run != true
200
+ uses: 'google-github-actions/upload-cloud-storage@v2'
201
+ with:
202
+ path: './docs/'
203
+ destination: "${{ secrets.GCS_BUCKET }}/player/ui/${{ needs.version_bump.outputs.version_number }}"
204
+
205
+ - name: Upload docs for major version
206
+ if: inputs.dry_run != true && inputs.release_type == 'final'
207
+ uses: 'google-github-actions/upload-cloud-storage@v2'
208
+ with:
209
+ path: './docs/'
210
+ destination: "${{ secrets.GCS_BUCKET }}/player/ui/${{ needs.version_bump.outputs.major_version }}"
211
+
212
+ notify_success:
213
+ name: Notify Success
214
+ needs: [test, version_bump, release, upload_docs]
215
+ runs-on: ubuntu-latest
216
+ if: inputs.dry_run != true
217
+ steps:
218
+ - name: Checkout
219
+ uses: actions/checkout@v4
220
+ with:
221
+ ref: ${{ needs.version_bump.outputs.tag_name }}
222
+
223
+ - name: Notify team
224
+ run: node .github/scripts/notifySlackTeam.js ${{ needs.version_bump.outputs.version_number }} 'success' 'CHANGELOG.md' ${{ secrets.SLACK_WEBHOOK_URL }}
225
+
226
+ handle_failure:
227
+ name: Handle Failure
228
+ runs-on: ubuntu-latest
229
+ needs: [test, version_bump, release, upload_docs, notify_success]
230
+ if: ${{ always() && inputs.dry_run != true && (needs.test.result == 'failure' || needs.version_bump.result == 'failure' || needs.release.result == 'failure' || needs.upload_docs.result == 'failure' || needs.notify_success.result == 'failure') }}
231
+ steps:
232
+ - name: Checkout
233
+ uses: actions/checkout@v4
234
+ with:
235
+ ref: ${{ needs.version_bump.outputs.tag_name }}
236
+
237
+ - name: Notify team
238
+ run: node .github/scripts/notifySlackTeam.js ${{ needs.version_bump.outputs.version_number }} 'failure' 'CHANGELOG.md' ${{ secrets.SLACK_WEBHOOK_URL }} ${{ github.run_id }}