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.
- package/.github/ISSUE_TEMPLATE/config.yml +11 -0
- package/.github/PULL_REQUEST_TEMPLATE.md +7 -0
- package/.github/actions/setup-dependencies/action.yml +15 -0
- package/.github/scripts/calculateVersionNumber.js +61 -0
- package/.github/scripts/defineVersion.js +29 -0
- package/.github/scripts/detectReleaseLevel.js +46 -0
- package/.github/scripts/notifySlackTeam.js +106 -0
- package/.github/scripts/updateChangelog.js +24 -0
- package/.github/workflows/ci.yml +55 -0
- package/.github/workflows/release.yml +238 -0
- package/.github/workflows/tag-release-version.yml +100 -0
- package/.husky/pre-commit +2 -0
- package/CHANGELOG.md +3 -372
- package/CONTRIBUTING.md +55 -50
- package/README.md +18 -19
- package/assets/skin-modern/images/airplay.svg +21 -0
- package/assets/skin-modern/images/airplayX.svg +27 -0
- package/assets/skin-modern/images/audio-tracks.svg +1 -0
- package/assets/skin-modern/images/audio-tracksX.svg +1 -0
- package/assets/skin-modern/images/chromecast.svg +20 -0
- package/assets/skin-modern/images/chromecastX.svg +23 -0
- package/assets/skin-modern/images/close.svg +20 -0
- package/assets/skin-modern/images/closeX.svg +20 -0
- package/assets/skin-modern/images/dot-play.svg +20 -0
- package/assets/skin-modern/images/dot-volume.svg +17 -0
- package/assets/skin-modern/images/fullscreen.svg +28 -0
- package/assets/skin-modern/images/fullscreenX.svg +34 -0
- package/assets/skin-modern/images/glasses.svg +31 -0
- package/assets/skin-modern/images/glassesX.svg +23 -0
- package/assets/skin-modern/images/leaf.svg +3 -0
- package/assets/skin-modern/images/loader.svg +19 -0
- package/assets/skin-modern/images/logo.svg +15 -0
- package/assets/skin-modern/images/music-low.svg +25 -0
- package/assets/skin-modern/images/music-lowX.svg +27 -0
- package/assets/skin-modern/images/music-off.svg +33 -0
- package/assets/skin-modern/images/music-offX.svg +35 -0
- package/assets/skin-modern/images/music-on.svg +30 -0
- package/assets/skin-modern/images/music-onX.svg +32 -0
- package/assets/skin-modern/images/next.svg +21 -0
- package/assets/skin-modern/images/nextX.svg +24 -0
- package/assets/skin-modern/images/pause.svg +20 -0
- package/assets/skin-modern/images/pauseX.svg +23 -0
- package/assets/skin-modern/images/picinpic1.svg +21 -0
- package/assets/skin-modern/images/picinpic1X.svg +27 -0
- package/assets/skin-modern/images/picinpic2.svg +21 -0
- package/assets/skin-modern/images/picinpic2X.svg +27 -0
- package/assets/skin-modern/images/play.svg +15 -0
- package/assets/skin-modern/images/playX.svg +17 -0
- package/assets/skin-modern/images/play_big.svg +18 -0
- package/assets/skin-modern/images/play_bigX.svg +19 -0
- package/assets/skin-modern/images/playlist.svg +20 -0
- package/assets/skin-modern/images/playlistX.svg +27 -0
- package/assets/skin-modern/images/prev.svg +21 -0
- package/assets/skin-modern/images/prevX.svg +24 -0
- package/assets/skin-modern/images/quickseek-fastforward.svg +2 -0
- package/assets/skin-modern/images/quickseek-rewind.svg +2 -0
- package/assets/skin-modern/images/replay-nocircle.svg +12 -0
- package/assets/skin-modern/images/replay.svg +23 -0
- package/assets/skin-modern/images/replayX.svg +24 -0
- package/assets/skin-modern/images/settings.svg +30 -0
- package/assets/skin-modern/images/settingsX.svg +40 -0
- package/assets/skin-modern/images/stop.svg +14 -0
- package/assets/skin-modern/images/stopX.svg +16 -0
- package/assets/skin-modern/images/subtitles.svg +1 -0
- package/assets/skin-modern/images/subtitlesX.svg +1 -0
- package/assets/skin-modern/images/toggleOff.svg +17 -0
- package/assets/skin-modern/images/toggleOn.svg +17 -0
- package/dist/css/bitmovinplayer-ui.css +2756 -2
- package/dist/css/bitmovinplayer-ui.min.css +2 -0
- package/dist/css/demo.css +7 -2
- package/dist/css/demo.min.css +1 -0
- package/dist/index.html +717 -906
- package/dist/js/bitmovinplayer-ui.js +15412 -2
- package/dist/js/bitmovinplayer-ui.min.js +2 -0
- package/dist/js/bitmovinplayer-ui.min.js.map +1 -0
- package/dist/js/framework/arrayutils.js +25 -0
- package/dist/js/framework/audiotrackutils.d.ts +22 -0
- package/dist/js/framework/audiotrackutils.js +69 -0
- package/dist/js/framework/browserutils.d.ts +21 -0
- package/dist/js/framework/browserutils.js +122 -0
- package/dist/js/framework/components/adclickoverlay.d.ts +12 -0
- package/dist/js/framework/components/adclickoverlay.js +61 -0
- package/dist/js/framework/components/admessagelabel.d.ts +12 -0
- package/dist/js/framework/components/admessagelabel.js +62 -0
- package/dist/js/framework/components/adskipbutton.d.ts +29 -0
- package/dist/js/framework/components/adskipbutton.js +87 -0
- package/dist/js/framework/components/airplaytogglebutton.d.ts +12 -0
- package/dist/js/framework/components/airplaytogglebutton.js +79 -0
- package/dist/js/framework/components/audioqualityselectbox.d.ts +13 -0
- package/dist/js/framework/components/audioqualityselectbox.js +76 -0
- package/dist/js/framework/components/audiotracklistbox.d.ts +11 -0
- package/dist/js/framework/components/audiotracklistbox.js +37 -0
- package/dist/js/framework/components/audiotrackselectbox.d.ts +13 -0
- package/dist/js/framework/components/audiotrackselectbox.js +42 -0
- package/dist/js/framework/components/bufferingoverlay.d.ts +26 -0
- package/dist/js/framework/components/bufferingoverlay.js +76 -0
- package/dist/js/framework/components/button.d.ts +46 -0
- package/dist/js/framework/components/button.js +88 -0
- package/dist/js/framework/components/caststatusoverlay.d.ts +13 -0
- package/dist/js/framework/components/caststatusoverlay.js +64 -0
- package/dist/js/framework/components/casttogglebutton.d.ts +12 -0
- package/dist/js/framework/components/casttogglebutton.js +83 -0
- package/dist/js/framework/components/castuicontainer.d.ts +15 -0
- package/dist/js/framework/components/castuicontainer.js +85 -0
- package/dist/js/framework/components/clickoverlay.d.ts +27 -0
- package/dist/js/framework/components/clickoverlay.js +61 -0
- package/dist/js/framework/components/closebutton.d.ts +24 -0
- package/dist/js/framework/components/closebutton.js +45 -0
- package/dist/js/framework/components/component.d.ts +371 -0
- package/dist/js/framework/components/component.js +463 -0
- package/dist/js/framework/components/container.d.ts +72 -0
- package/dist/js/framework/components/container.js +158 -0
- package/dist/js/framework/components/controlbar.d.ts +20 -0
- package/dist/js/framework/components/controlbar.js +96 -0
- package/dist/js/framework/components/ecomodecontainer.d.ts +23 -0
- package/dist/js/framework/components/ecomodecontainer.js +112 -0
- package/dist/js/framework/components/ecomodetogglebutton.d.ts +14 -0
- package/dist/js/framework/components/ecomodetogglebutton.js +96 -0
- package/dist/js/framework/components/errormessageoverlay.d.ts +86 -0
- package/dist/js/framework/components/errormessageoverlay.js +107 -0
- package/dist/js/framework/components/fullscreentogglebutton.d.ts +12 -0
- package/dist/js/framework/components/fullscreentogglebutton.js +73 -0
- package/dist/js/framework/components/hugeplaybacktogglebutton.d.ts +20 -0
- package/dist/js/framework/components/hugeplaybacktogglebutton.js +186 -0
- package/dist/js/framework/components/hugereplaybutton.d.ts +14 -0
- package/dist/js/framework/components/hugereplaybutton.js +57 -0
- package/dist/js/framework/components/itemselectionlist.d.ts +16 -0
- package/dist/js/framework/components/itemselectionlist.js +114 -0
- package/dist/js/framework/components/label.d.ts +76 -0
- package/dist/js/framework/components/label.js +135 -0
- package/dist/js/framework/components/listbox.d.ts +31 -0
- package/dist/js/framework/components/listbox.js +149 -0
- package/dist/js/framework/components/listselector.d.ts +134 -0
- package/dist/js/framework/components/listselector.js +240 -0
- package/dist/js/framework/components/metadatalabel.d.ts +36 -0
- package/dist/js/framework/components/metadatalabel.js +74 -0
- package/dist/js/framework/components/pictureinpicturetogglebutton.d.ts +12 -0
- package/dist/js/framework/components/pictureinpicturetogglebutton.js +73 -0
- package/dist/js/framework/components/playbackspeedselectbox.d.ts +17 -0
- package/dist/js/framework/components/playbackspeedselectbox.js +79 -0
- package/dist/js/framework/components/playbacktimelabel.d.ts +58 -0
- package/dist/js/framework/components/playbacktimelabel.js +191 -0
- package/dist/js/framework/components/playbacktogglebutton.d.ts +25 -0
- package/dist/js/framework/components/playbacktogglebutton.js +139 -0
- package/dist/js/framework/components/playbacktoggleoverlay.d.ts +21 -0
- package/dist/js/framework/components/playbacktoggleoverlay.js +42 -0
- package/dist/js/framework/components/quickseekbutton.d.ts +27 -0
- package/dist/js/framework/components/quickseekbutton.js +120 -0
- package/dist/js/framework/components/recommendationoverlay.d.ts +13 -0
- package/dist/js/framework/components/recommendationoverlay.js +130 -0
- package/dist/js/framework/components/replaybutton.d.ts +12 -0
- package/dist/js/framework/components/replaybutton.js +67 -0
- package/dist/js/framework/components/seekbar.d.ts +242 -0
- package/dist/js/framework/components/seekbar.js +930 -0
- package/dist/js/framework/components/seekbarbufferlevel.js +18 -0
- package/dist/js/framework/components/seekbarcontroller.d.ts +43 -0
- package/dist/js/framework/components/seekbarcontroller.js +102 -0
- package/dist/js/framework/components/seekbarlabel.d.ts +54 -0
- package/dist/js/framework/components/seekbarlabel.js +225 -0
- package/dist/js/framework/components/selectbox.d.ts +40 -0
- package/dist/js/framework/components/selectbox.js +202 -0
- package/dist/js/framework/components/settingspanel.d.ts +124 -0
- package/dist/js/framework/components/settingspanel.js +339 -0
- package/dist/js/framework/components/settingspanelitem.d.ts +32 -0
- package/dist/js/framework/components/settingspanelitem.js +123 -0
- package/dist/js/framework/components/settingspanelpage.d.ts +24 -0
- package/dist/js/framework/components/settingspanelpage.js +116 -0
- package/dist/js/framework/components/settingspanelpagebackbutton.d.ts +10 -0
- package/dist/js/framework/components/settingspanelpagebackbutton.js +42 -0
- package/dist/js/framework/components/settingspanelpagenavigatorbutton.d.ts +51 -0
- package/dist/js/framework/components/settingspanelpagenavigatorbutton.js +58 -0
- package/dist/js/framework/components/settingspanelpageopenbutton.d.ts +10 -0
- package/dist/js/framework/components/settingspanelpageopenbutton.js +46 -0
- package/dist/js/framework/components/settingstogglebutton.d.ts +30 -0
- package/dist/js/framework/components/settingstogglebutton.js +107 -0
- package/dist/js/framework/components/spacer.d.ts +12 -0
- package/dist/js/framework/components/spacer.js +46 -0
- package/dist/js/framework/components/subtitlelistbox.d.ts +11 -0
- package/dist/js/framework/components/subtitlelistbox.js +37 -0
- package/dist/js/framework/components/subtitleoverlay.d.ts +92 -0
- package/dist/js/framework/components/subtitleoverlay.js +734 -0
- package/dist/js/framework/components/subtitleselectbox.d.ts +13 -0
- package/dist/js/framework/components/subtitleselectbox.js +44 -0
- package/dist/js/framework/components/subtitlesettings/backgroundcolorselectbox.d.ts +12 -0
- package/dist/js/framework/components/subtitlesettings/backgroundcolorselectbox.js +81 -0
- package/dist/js/framework/components/subtitlesettings/backgroundopacityselectbox.d.ts +12 -0
- package/dist/js/framework/components/subtitlesettings/backgroundopacityselectbox.js +67 -0
- package/dist/js/framework/components/subtitlesettings/characteredgecolorselectbox.d.ts +12 -0
- package/dist/js/framework/components/subtitlesettings/characteredgecolorselectbox.js +70 -0
- package/dist/js/framework/components/subtitlesettings/characteredgeselectbox.d.ts +12 -0
- package/dist/js/framework/components/subtitlesettings/characteredgeselectbox.js +77 -0
- package/dist/js/framework/components/subtitlesettings/fontcolorselectbox.d.ts +12 -0
- package/dist/js/framework/components/subtitlesettings/fontcolorselectbox.js +81 -0
- package/dist/js/framework/components/subtitlesettings/fontfamilyselectbox.d.ts +12 -0
- package/dist/js/framework/components/subtitlesettings/fontfamilyselectbox.js +66 -0
- package/dist/js/framework/components/subtitlesettings/fontopacityselectbox.d.ts +12 -0
- package/dist/js/framework/components/subtitlesettings/fontopacityselectbox.js +66 -0
- package/dist/js/framework/components/subtitlesettings/fontsizeselectbox.d.ts +15 -0
- package/dist/js/framework/components/subtitlesettings/fontsizeselectbox.js +85 -0
- package/dist/js/framework/components/subtitlesettings/fontstyleselectbox.d.ts +12 -0
- package/dist/js/framework/components/subtitlesettings/fontstyleselectbox.js +64 -0
- package/dist/js/framework/components/subtitlesettings/subtitlesettingselectbox.d.ts +29 -0
- package/dist/js/framework/components/subtitlesettings/subtitlesettingselectbox.js +53 -0
- package/dist/js/framework/components/subtitlesettings/subtitlesettingslabel.d.ts +20 -0
- package/dist/js/framework/components/subtitlesettings/subtitlesettingslabel.js +50 -0
- package/dist/js/framework/components/subtitlesettings/subtitlesettingsmanager.d.ts +43 -0
- package/dist/js/framework/components/subtitlesettings/subtitlesettingsmanager.js +225 -0
- package/dist/js/framework/components/subtitlesettings/subtitlesettingspanelpage.d.ts +22 -0
- package/dist/js/framework/components/subtitlesettings/subtitlesettingspanelpage.js +111 -0
- package/dist/js/framework/components/subtitlesettings/subtitlesettingsresetbutton.d.ts +13 -0
- package/dist/js/framework/components/subtitlesettings/subtitlesettingsresetbutton.js +46 -0
- package/dist/js/framework/components/subtitlesettings/windowcolorselectbox.d.ts +12 -0
- package/dist/js/framework/components/subtitlesettings/windowcolorselectbox.js +81 -0
- package/dist/js/framework/components/subtitlesettings/windowopacityselectbox.d.ts +12 -0
- package/dist/js/framework/components/subtitlesettings/windowopacityselectbox.js +67 -0
- package/dist/js/framework/components/timelinemarkershandler.d.ts +38 -0
- package/dist/js/framework/components/timelinemarkershandler.js +207 -0
- package/dist/js/framework/components/titlebar.d.ts +25 -0
- package/dist/js/framework/components/titlebar.js +93 -0
- package/dist/js/framework/components/togglebutton.d.ts +98 -0
- package/dist/js/framework/components/togglebutton.js +180 -0
- package/dist/js/framework/components/tvnoisecanvas.d.ts +26 -0
- package/dist/js/framework/components/tvnoisecanvas.js +106 -0
- package/dist/js/framework/components/uicontainer.d.ts +65 -0
- package/dist/js/framework/components/uicontainer.js +372 -0
- package/dist/js/framework/components/videoqualityselectbox.d.ts +19 -0
- package/dist/js/framework/components/videoqualityselectbox.js +85 -0
- package/dist/js/framework/components/volumecontrolbutton.d.ts +49 -0
- package/dist/js/framework/components/volumecontrolbutton.js +116 -0
- package/dist/js/framework/components/volumeslider.d.ts +30 -0
- package/dist/js/framework/components/volumeslider.js +118 -0
- package/dist/js/framework/components/volumetogglebutton.d.ts +12 -0
- package/dist/js/framework/components/volumetogglebutton.js +63 -0
- package/dist/js/framework/components/vrtogglebutton.d.ts +12 -0
- package/dist/js/framework/components/vrtogglebutton.js +103 -0
- package/dist/js/framework/components/watermark.d.ts +16 -0
- package/dist/js/framework/components/watermark.js +42 -0
- package/dist/js/framework/demofactory.d.ts +6 -0
- package/dist/js/framework/demofactory.js +156 -0
- package/dist/js/framework/dom.d.ts +245 -0
- package/dist/js/framework/dom.js +453 -0
- package/dist/js/framework/errorutils.d.ts +10 -0
- package/dist/js/framework/errorutils.js +86 -0
- package/dist/js/framework/eventdispatcher.js +206 -0
- package/dist/js/framework/focusvisibilitytracker.js +63 -0
- package/dist/js/framework/groupplaybackapi.js +18 -0
- package/dist/js/framework/guid.js +11 -0
- package/dist/js/framework/imageloader.js +61 -0
- package/dist/js/framework/localization/i18n.d.ts +28 -28
- package/dist/js/framework/localization/i18n.js +17 -14
- package/dist/js/framework/localization/languages/de.json +61 -62
- package/dist/js/framework/localization/languages/en.json +78 -79
- package/dist/js/framework/localization/languages/es.json +79 -80
- package/dist/js/framework/localization/languages/nl.json +75 -76
- package/dist/js/framework/main.d.ts +85 -89
- package/dist/js/framework/main.js +172 -184
- package/dist/js/framework/mobilev3playerapi.d.ts +23 -0
- package/dist/js/framework/mobilev3playerapi.js +18 -0
- package/dist/js/framework/playerutils.d.ts +83 -0
- package/dist/js/framework/playerutils.js +193 -0
- package/dist/js/framework/spatialnavigation/ListNavigationGroup.d.ts +17 -0
- package/dist/js/framework/spatialnavigation/ListNavigationGroup.js +73 -0
- package/dist/js/framework/spatialnavigation/gethtmlelementsfromcomponents.d.ts +9 -0
- package/dist/js/framework/spatialnavigation/gethtmlelementsfromcomponents.js +55 -0
- package/dist/js/framework/spatialnavigation/keymap.js +124 -0
- package/dist/js/framework/spatialnavigation/navigationalgorithm.d.ts +18 -0
- package/dist/js/framework/spatialnavigation/navigationalgorithm.js +132 -0
- package/dist/js/framework/spatialnavigation/navigationgroup.d.ts +84 -0
- package/dist/js/framework/spatialnavigation/navigationgroup.js +162 -0
- package/dist/js/framework/spatialnavigation/rootnavigationgroup.d.ts +17 -0
- package/dist/js/framework/spatialnavigation/rootnavigationgroup.js +67 -0
- package/dist/js/framework/spatialnavigation/seekbarhandler.d.ts +31 -0
- package/dist/js/framework/spatialnavigation/seekbarhandler.js +134 -0
- package/dist/js/framework/spatialnavigation/spatialnavigation.d.ts +53 -0
- package/dist/js/framework/spatialnavigation/spatialnavigation.js +147 -0
- package/dist/js/framework/spatialnavigation/typeguards.d.ts +11 -0
- package/dist/js/framework/spatialnavigation/typeguards.js +32 -0
- package/dist/js/framework/spatialnavigation/types.d.ts +1 -7
- package/dist/js/framework/spatialnavigation/types.js +2 -2
- package/dist/js/framework/storageutils.d.ts +37 -0
- package/dist/js/framework/storageutils.js +88 -0
- package/dist/js/framework/stringutils.js +191 -0
- package/dist/js/framework/subtitleutils.d.ts +24 -0
- package/dist/js/framework/subtitleutils.js +100 -0
- package/dist/js/framework/uiconfig.d.ts +129 -0
- package/dist/js/framework/uifactory.d.ts +29 -0
- package/dist/js/framework/uifactory.js +578 -0
- package/dist/js/framework/uimanager.d.ts +304 -0
- package/dist/js/framework/uimanager.js +849 -0
- package/dist/js/framework/uiutils.d.ts +19 -0
- package/dist/js/framework/uiutils.js +36 -0
- package/dist/js/framework/volumecontroller.d.ts +41 -0
- package/dist/js/framework/volumecontroller.js +118 -0
- package/dist/js/framework/vttutils.d.ts +13 -0
- package/dist/js/framework/vttutils.js +205 -0
- package/dist/simple.html +33 -34
- package/eslint.config.mjs +49 -0
- package/gulpfile.js +250 -0
- package/jest.config.js +21 -0
- package/package.json +28 -36
- package/publish.sh +169 -0
- package/setup-jest.ts +1 -0
- package/spec/audioutils.spec.ts +119 -0
- package/spec/browserutils.spec.ts +26 -0
- package/spec/components/errormessageoverlay.spec.ts +68 -0
- package/spec/components/fullscreentogglebutton.spec.ts +85 -0
- package/spec/components/listselector.spec.ts +262 -0
- package/spec/components/pictureinpicturetogglebutton.spec.ts +85 -0
- package/spec/components/playbacktimelabel.spec.ts +151 -0
- package/spec/components/seekbar.spec.ts +186 -0
- package/spec/components/seekbarlabel.spec.ts +191 -0
- package/spec/components/selectbox.spec.ts +325 -0
- package/spec/components/settingspanel.spec.ts +236 -0
- package/spec/components/subtitleoverlay.spec.ts +107 -0
- package/spec/components/timelinemarkershandler.spec.ts +88 -0
- package/spec/components/togglebutton.spec.ts +142 -0
- package/spec/components/uicontainer.spec.ts +101 -0
- package/spec/errorutils.spec.ts +35 -0
- package/spec/focusvisibilitytracker.spec.ts +88 -0
- package/spec/helper/MockHelper.ts +133 -0
- package/spec/helper/PlayerEventEmitter.ts +409 -0
- package/spec/helper/mockClass.ts +48 -0
- package/spec/helper/mockComponent.ts +24 -0
- package/spec/localization.spec.ts +63 -0
- package/spec/mobilev3playerapi.spec.ts +26 -0
- package/spec/playerutils.spec.ts +43 -0
- package/spec/release/calculateVersionNumber.spec.ts +90 -0
- package/spec/release/defineVersion.spec.ts +27 -0
- package/spec/release/detectReleaseLevel.spec.ts +106 -0
- package/spec/spatialnavigation/gethtmlelementsfromcomponents.spec.ts +91 -0
- package/spec/spatialnavigation/keymap.spec.ts +35 -0
- package/spec/spatialnavigation/listnavigationgroup.spec.ts +55 -0
- package/spec/spatialnavigation/navigationalgorithm.spec.ts +91 -0
- package/spec/spatialnavigation/navigationgroup.spec.ts +167 -0
- package/spec/spatialnavigation/nodeeventsubscriber.spec.ts +41 -0
- package/spec/spatialnavigation/rootnavigationgroup.spec.ts +54 -0
- package/spec/spatialnavigation/seekbarhandler.spec.ts +212 -0
- package/spec/spatialnavigation/spatialnavigation.spec.ts +103 -0
- package/spec/subtitleutils.spec.ts +160 -0
- package/spec/uimanager.spec.ts +210 -0
- package/spec/volumecontroller.spec.ts +29 -0
- package/spec/vttutils.spec.ts +702 -0
- package/src/html/index.html +717 -906
- package/src/html/simple.html +33 -34
- package/src/scss/bitmovinplayer-ui.scss +1 -150
- package/src/scss/demo.scss +0 -9
- package/src/scss/skin-modern/_mixins.scss +161 -0
- package/src/scss/skin-modern/_skin-ads.scss +61 -0
- package/src/scss/skin-modern/_skin-cast-receiver.scss +91 -0
- package/src/scss/skin-modern/_skin-smallscreen.scss +146 -0
- package/src/scss/skin-modern/_skin-tv.scss +104 -0
- package/src/scss/skin-modern/_skin.scss +97 -0
- package/src/scss/skin-modern/_variables.scss +25 -0
- package/src/scss/skin-modern/components/_airplaytogglebutton.scss +16 -0
- package/src/scss/skin-modern/components/_audiotracksettingspaneltogglebutton.scss +12 -0
- package/src/scss/skin-modern/components/_bufferingoverlay.scss +85 -0
- package/src/scss/skin-modern/components/_button.scss +45 -0
- package/src/scss/skin-modern/components/_caststatusoverlay.scss +28 -0
- package/src/scss/skin-modern/components/_casttogglebutton.scss +16 -0
- package/src/scss/skin-modern/components/_clickoverlay.scss +11 -0
- package/src/scss/skin-modern/components/_closebutton.scss +32 -0
- package/src/scss/skin-modern/components/_container.scss +11 -0
- package/src/scss/skin-modern/components/_controlbar.scss +69 -0
- package/src/scss/skin-modern/components/_ecomodetogglebutton.scss +35 -0
- package/src/scss/skin-modern/components/_errormessageoverlay.scss +47 -0
- package/src/scss/skin-modern/components/_fullscreentogglebutton.scss +16 -0
- package/src/scss/skin-modern/components/_hugeplaybacktogglebutton.scss +84 -0
- package/src/scss/skin-modern/components/_hugereplaybutton.scss +33 -0
- package/src/scss/skin-modern/components/_label.scss +21 -0
- package/src/scss/skin-modern/components/_listbox.scss +38 -0
- package/src/scss/skin-modern/components/_pictureinpicturetogglebutton.scss +16 -0
- package/src/scss/skin-modern/components/_playbacktimelabel.scss +23 -0
- package/src/scss/skin-modern/components/_playbacktogglebutton.scss +20 -0
- package/src/scss/skin-modern/components/_playbacktoggleoverlay.scss +10 -0
- package/src/scss/skin-modern/components/_quickseekbutton.scss +18 -0
- package/src/scss/skin-modern/components/_recommendationoverlay.scss +91 -0
- package/src/scss/skin-modern/components/_replaybutton.scss +12 -0
- package/src/scss/skin-modern/components/_seekbar.scss +164 -0
- package/src/scss/skin-modern/components/_seekbarlabel.scss +75 -0
- package/src/scss/skin-modern/components/_selectbox.scss +23 -0
- package/src/scss/skin-modern/components/_settingspanel.scss +40 -0
- package/src/scss/skin-modern/components/_settingspanelpage.scss +43 -0
- package/src/scss/skin-modern/components/_settingspanelpagebackbutton.scss +29 -0
- package/src/scss/skin-modern/components/_settingspanelpageopenbutton.scss +23 -0
- package/src/scss/skin-modern/components/_settingstogglebutton.scss +26 -0
- package/src/scss/skin-modern/components/_subtitleoverlay-cea608.scss +46 -0
- package/src/scss/skin-modern/components/_subtitleoverlay.scss +73 -0
- package/src/scss/skin-modern/components/_subtitlesettingspaneltogglebutton.scss +12 -0
- package/src/scss/skin-modern/components/_titlebar.scss +39 -0
- package/src/scss/skin-modern/components/_uicontainer.scss +57 -0
- package/src/scss/skin-modern/components/_volumecontrolbutton.scss +30 -0
- package/src/scss/skin-modern/components/_volumeslider.scss +19 -0
- package/src/scss/skin-modern/components/_volumetogglebutton.scss +36 -0
- package/src/scss/skin-modern/components/_vrtogglebutton.scss +17 -0
- package/src/scss/skin-modern/components/_watermark.scss +21 -0
- package/src/scss/skin-modern/components/subtitlesettings/_subtitleoverlay-settings.scss +150 -0
- package/src/scss/skin-modern/components/subtitlesettings/_subtitlesettings.scss +2 -0
- package/src/scss/skin-modern/components/subtitlesettings/_subtitlesettingsresetbutton.scss +12 -0
- package/src/ts/audiotrackutils.ts +80 -0
- package/src/ts/browserutils.ts +93 -0
- package/src/ts/components/adclickoverlay.ts +48 -0
- package/src/ts/components/admessagelabel.ts +51 -0
- package/src/ts/components/adskipbutton.ts +93 -0
- package/src/ts/components/airplaytogglebutton.ts +64 -0
- package/src/ts/components/audioqualityselectbox.ts +67 -0
- package/src/ts/components/audiotracklistbox.ts +17 -0
- package/src/ts/components/audiotrackselectbox.ts +27 -0
- package/src/ts/components/bufferingoverlay.ts +81 -0
- package/src/ts/components/button.ts +96 -0
- package/src/ts/components/caststatusoverlay.ts +51 -0
- package/src/ts/components/casttogglebutton.ts +67 -0
- package/src/ts/components/castuicontainer.ts +81 -0
- package/src/ts/components/clickoverlay.ts +57 -0
- package/src/ts/components/closebutton.ts +44 -0
- package/src/ts/components/component.ts +585 -0
- package/src/ts/components/container.ts +171 -0
- package/src/ts/components/controlbar.ts +96 -0
- package/src/ts/components/ecomodecontainer.ts +129 -0
- package/src/ts/components/ecomodetogglebutton.ts +89 -0
- package/src/ts/components/errormessageoverlay.ts +186 -0
- package/src/ts/components/fullscreentogglebutton.ts +69 -0
- package/src/ts/components/hugeplaybacktogglebutton.ts +188 -0
- package/src/ts/components/hugereplaybutton.ts +44 -0
- package/src/ts/components/itemselectionlist.ts +108 -0
- package/src/ts/components/label.ts +139 -0
- package/src/ts/components/listbox.ts +149 -0
- package/src/ts/components/listselector.ts +276 -0
- package/src/ts/components/metadatalabel.ts +74 -0
- package/src/ts/components/pictureinpicturetogglebutton.ts +69 -0
- package/src/ts/components/playbackspeedselectbox.ts +68 -0
- package/src/ts/components/playbacktimelabel.ts +209 -0
- package/src/ts/components/playbacktogglebutton.ts +150 -0
- package/src/ts/components/playbacktoggleoverlay.ts +37 -0
- package/src/ts/components/quickseekbutton.ts +139 -0
- package/src/ts/components/recommendationoverlay.ts +134 -0
- package/src/ts/components/replaybutton.ts +51 -0
- package/src/ts/components/seekbar.ts +1143 -0
- package/src/ts/components/seekbarbufferlevel.ts +21 -0
- package/src/ts/components/seekbarcontroller.ts +126 -0
- package/src/ts/components/seekbarlabel.ts +259 -0
- package/src/ts/components/selectbox.ts +213 -0
- package/src/ts/components/settingspanel.ts +402 -0
- package/src/ts/components/settingspanelitem.ts +114 -0
- package/src/ts/components/settingspanelpage.ts +99 -0
- package/src/ts/components/settingspanelpagebackbutton.ts +26 -0
- package/src/ts/components/settingspanelpagenavigatorbutton.ts +69 -0
- package/src/ts/components/settingspanelpageopenbutton.ts +30 -0
- package/src/ts/components/settingstogglebutton.ts +117 -0
- package/src/ts/components/spacer.ts +30 -0
- package/src/ts/components/subtitlelistbox.ts +18 -0
- package/src/ts/components/subtitleoverlay.ts +851 -0
- package/src/ts/components/subtitleselectbox.ts +29 -0
- package/src/ts/components/subtitlesettings/backgroundcolorselectbox.ts +69 -0
- package/src/ts/components/subtitlesettings/backgroundopacityselectbox.ts +54 -0
- package/src/ts/components/subtitlesettings/characteredgecolorselectbox.ts +57 -0
- package/src/ts/components/subtitlesettings/characteredgeselectbox.ts +64 -0
- package/src/ts/components/subtitlesettings/fontcolorselectbox.ts +69 -0
- package/src/ts/components/subtitlesettings/fontfamilyselectbox.ts +53 -0
- package/src/ts/components/subtitlesettings/fontopacityselectbox.ts +53 -0
- package/src/ts/components/subtitlesettings/fontsizeselectbox.ts +76 -0
- package/src/ts/components/subtitlesettings/fontstyleselectbox.ts +50 -0
- package/src/ts/components/subtitlesettings/subtitlesettingselectbox.ts +53 -0
- package/src/ts/components/subtitlesettings/subtitlesettingslabel.ts +52 -0
- package/src/ts/components/subtitlesettings/subtitlesettingsmanager.ts +207 -0
- package/src/ts/components/subtitlesettings/subtitlesettingspanelpage.ts +115 -0
- package/src/ts/components/subtitlesettings/subtitlesettingsresetbutton.ts +33 -0
- package/src/ts/components/subtitlesettings/windowcolorselectbox.ts +71 -0
- package/src/ts/components/subtitlesettings/windowopacityselectbox.ts +54 -0
- package/src/ts/components/timelinemarkershandler.ts +269 -0
- package/src/ts/components/titlebar.ts +93 -0
- package/src/ts/components/togglebutton.ts +218 -0
- package/src/ts/components/tvnoisecanvas.ts +105 -0
- package/src/ts/components/uicontainer.ts +422 -0
- package/src/ts/components/videoqualityselectbox.ts +81 -0
- package/src/ts/components/volumecontrolbutton.ts +130 -0
- package/src/ts/components/volumeslider.ts +132 -0
- package/src/ts/components/volumetogglebutton.ts +50 -0
- package/src/ts/components/vrtogglebutton.ts +89 -0
- package/src/ts/components/watermark.ts +31 -0
- package/src/ts/demofactory.ts +161 -0
- package/src/ts/dom.ts +614 -0
- package/src/ts/errorutils.ts +89 -0
- package/src/ts/eventdispatcher.ts +276 -0
- package/src/ts/focusvisibilitytracker.ts +71 -0
- package/src/ts/groupplaybackapi.ts +93 -0
- package/src/ts/guid.ts +8 -0
- package/src/ts/imageloader.ts +74 -0
- package/src/ts/localization/i18n.ts +48 -46
- package/src/ts/localization/languages/de.json +1 -2
- package/src/ts/localization/languages/en.json +14 -15
- package/src/ts/localization/languages/es.json +14 -15
- package/src/ts/localization/languages/nl.json +1 -2
- package/src/ts/main.ts +86 -132
- package/src/ts/mobilev3playerapi.ts +35 -0
- package/src/ts/playerutils.ts +207 -0
- package/src/ts/spatialnavigation/ListNavigationGroup.ts +49 -0
- package/src/ts/spatialnavigation/gethtmlelementsfromcomponents.ts +58 -0
- package/src/ts/spatialnavigation/keymap.ts +127 -0
- package/src/ts/spatialnavigation/navigationalgorithm.ts +146 -0
- package/src/ts/spatialnavigation/navigationgroup.ts +202 -0
- package/src/ts/spatialnavigation/nodeeventsubscriber.ts +76 -0
- package/src/ts/spatialnavigation/rootnavigationgroup.ts +39 -0
- package/src/ts/spatialnavigation/seekbarhandler.ts +162 -0
- package/src/ts/spatialnavigation/spatialnavigation.ts +158 -0
- package/src/ts/spatialnavigation/typeguards.ts +29 -0
- package/src/ts/spatialnavigation/types.ts +1 -8
- package/src/ts/storageutils.ts +88 -0
- package/src/ts/stringutils.ts +207 -0
- package/src/ts/subtitleutils.ts +106 -0
- package/src/ts/timeout.ts +110 -0
- package/src/ts/uiconfig.ts +134 -0
- package/src/ts/uifactory.ts +631 -0
- package/src/ts/uimanager.ts +1010 -0
- package/src/ts/uiutils.ts +38 -0
- package/src/ts/volumecontroller.ts +133 -0
- package/src/ts/vttutils.ts +261 -0
- package/tsconfig.json +6 -4
- package/typedoc.json +13 -2
- package/assets/images/ad-skip.svg +0 -3
- package/assets/images/airplay.svg +0 -3
- package/assets/images/angle-left.svg +0 -1
- package/assets/images/angle-right.svg +0 -1
- package/assets/images/audio-tracks.svg +0 -3
- package/assets/images/cast.svg +0 -3
- package/assets/images/check.svg +0 -1
- package/assets/images/close.svg +0 -1
- package/assets/images/fullscreen.svg +0 -3
- package/assets/images/fullscreenX.svg +0 -3
- package/assets/images/glasses.svg +0 -3
- package/assets/images/leaf.svg +0 -3
- package/assets/images/loader.svg +0 -1
- package/assets/images/logo.svg +0 -15
- package/assets/images/pause.svg +0 -3
- package/assets/images/pip.svg +0 -3
- package/assets/images/pipX.svg +0 -3
- package/assets/images/play.svg +0 -3
- package/assets/images/quickseek-back.svg +0 -3
- package/assets/images/quickseek-forward.svg +0 -3
- package/assets/images/replay-with-play.svg +0 -4
- package/assets/images/replay.svg +0 -3
- package/assets/images/settings.svg +0 -3
- package/assets/images/stop.svg +0 -3
- package/assets/images/subtitles.svg +0 -3
- package/assets/images/toggleOff.svg +0 -1
- package/assets/images/toggleOn.svg +0 -1
- package/assets/images/volume-low.svg +0 -3
- package/assets/images/volume-mute.svg +0 -3
- package/assets/images/volume.svg +0 -3
- package/dist/css/bitmovinplayer-ui.css.map +0 -1
- package/dist/css/demo.css.map +0 -1
- package/dist/demo.js +0 -0
- package/dist/js/bitmovinplayer-ui.js.map +0 -1
- package/dist/js/framework/DOM.d.ts +0 -251
- package/dist/js/framework/DOM.js +0 -470
- package/dist/js/framework/EventDispatcher.js +0 -205
- package/dist/js/framework/UIConfig.d.ts +0 -167
- package/dist/js/framework/UIFactory.d.ts +0 -67
- package/dist/js/framework/UIFactory.js +0 -709
- package/dist/js/framework/UIManager.d.ts +0 -323
- package/dist/js/framework/UIManager.js +0 -890
- package/dist/js/framework/components/CastUIContainer.d.ts +0 -15
- package/dist/js/framework/components/CastUIContainer.js +0 -85
- package/dist/js/framework/components/Component.d.ts +0 -383
- package/dist/js/framework/components/Component.js +0 -486
- package/dist/js/framework/components/Container.d.ts +0 -82
- package/dist/js/framework/components/Container.js +0 -177
- package/dist/js/framework/components/ControlBar.d.ts +0 -20
- package/dist/js/framework/components/ControlBar.js +0 -96
- package/dist/js/framework/components/DummyComponent.d.ts +0 -4
- package/dist/js/framework/components/DummyComponent.js +0 -41
- package/dist/js/framework/components/EcoModeContainer.d.ts +0 -23
- package/dist/js/framework/components/EcoModeContainer.js +0 -117
- package/dist/js/framework/components/Icon.d.ts +0 -17
- package/dist/js/framework/components/Icon.js +0 -39
- package/dist/js/framework/components/RecommendationItem.d.ts +0 -26
- package/dist/js/framework/components/RecommendationItem.js +0 -121
- package/dist/js/framework/components/Spacer.d.ts +0 -12
- package/dist/js/framework/components/Spacer.js +0 -46
- package/dist/js/framework/components/TitleBar.d.ts +0 -27
- package/dist/js/framework/components/TitleBar.js +0 -112
- package/dist/js/framework/components/TvNoiseCanvas.d.ts +0 -26
- package/dist/js/framework/components/TvNoiseCanvas.js +0 -106
- package/dist/js/framework/components/UIContainer.d.ts +0 -66
- package/dist/js/framework/components/UIContainer.js +0 -429
- package/dist/js/framework/components/Watermark.d.ts +0 -16
- package/dist/js/framework/components/Watermark.js +0 -42
- package/dist/js/framework/components/ads/AdClickOverlay.d.ts +0 -12
- package/dist/js/framework/components/ads/AdClickOverlay.js +0 -61
- package/dist/js/framework/components/ads/AdControlBar.d.ts +0 -49
- package/dist/js/framework/components/ads/AdControlBar.js +0 -129
- package/dist/js/framework/components/ads/AdCounterLabel.d.ts +0 -12
- package/dist/js/framework/components/ads/AdCounterLabel.js +0 -52
- package/dist/js/framework/components/ads/AdMessageLabel.d.ts +0 -12
- package/dist/js/framework/components/ads/AdMessageLabel.js +0 -58
- package/dist/js/framework/components/ads/AdSkipButton.d.ts +0 -29
- package/dist/js/framework/components/ads/AdSkipButton.js +0 -88
- package/dist/js/framework/components/ads/AdStatusOverlay.d.ts +0 -9
- package/dist/js/framework/components/ads/AdStatusOverlay.js +0 -44
- package/dist/js/framework/components/buttons/AirPlayToggleButton.d.ts +0 -12
- package/dist/js/framework/components/buttons/AirPlayToggleButton.js +0 -79
- package/dist/js/framework/components/buttons/Button.d.ts +0 -75
- package/dist/js/framework/components/buttons/Button.js +0 -149
- package/dist/js/framework/components/buttons/CastToggleButton.d.ts +0 -12
- package/dist/js/framework/components/buttons/CastToggleButton.js +0 -83
- package/dist/js/framework/components/buttons/CloseButton.d.ts +0 -24
- package/dist/js/framework/components/buttons/CloseButton.js +0 -45
- package/dist/js/framework/components/buttons/EcoModeToggleButton.d.ts +0 -14
- package/dist/js/framework/components/buttons/EcoModeToggleButton.js +0 -96
- package/dist/js/framework/components/buttons/FullscreenToggleButton.d.ts +0 -12
- package/dist/js/framework/components/buttons/FullscreenToggleButton.js +0 -73
- package/dist/js/framework/components/buttons/HugePlaybackToggleButton.d.ts +0 -18
- package/dist/js/framework/components/buttons/HugePlaybackToggleButton.js +0 -174
- package/dist/js/framework/components/buttons/HugeReplayButton.d.ts +0 -12
- package/dist/js/framework/components/buttons/HugeReplayButton.js +0 -45
- package/dist/js/framework/components/buttons/PictureInPictureToggleButton.d.ts +0 -12
- package/dist/js/framework/components/buttons/PictureInPictureToggleButton.js +0 -73
- package/dist/js/framework/components/buttons/PlaybackToggleButton.d.ts +0 -25
- package/dist/js/framework/components/buttons/PlaybackToggleButton.js +0 -140
- package/dist/js/framework/components/buttons/QuickSeekButton.d.ts +0 -27
- package/dist/js/framework/components/buttons/QuickSeekButton.js +0 -120
- package/dist/js/framework/components/buttons/ReplayButton.d.ts +0 -12
- package/dist/js/framework/components/buttons/ReplayButton.js +0 -67
- package/dist/js/framework/components/buttons/SmallCenteredPlaybackToggleButton.d.ts +0 -13
- package/dist/js/framework/components/buttons/SmallCenteredPlaybackToggleButton.js +0 -106
- package/dist/js/framework/components/buttons/ToggleButton.d.ts +0 -98
- package/dist/js/framework/components/buttons/ToggleButton.js +0 -180
- package/dist/js/framework/components/buttons/VRToggleButton.d.ts +0 -12
- package/dist/js/framework/components/buttons/VRToggleButton.js +0 -103
- package/dist/js/framework/components/buttons/VolumeControlButton.d.ts +0 -49
- package/dist/js/framework/components/buttons/VolumeControlButton.js +0 -116
- package/dist/js/framework/components/buttons/VolumeToggleButton.d.ts +0 -12
- package/dist/js/framework/components/buttons/VolumeToggleButton.js +0 -63
- package/dist/js/framework/components/labels/Label.d.ts +0 -100
- package/dist/js/framework/components/labels/Label.js +0 -176
- package/dist/js/framework/components/labels/MetadataLabel.d.ts +0 -36
- package/dist/js/framework/components/labels/MetadataLabel.js +0 -74
- package/dist/js/framework/components/labels/PlaybackTimeLabel.d.ts +0 -58
- package/dist/js/framework/components/labels/PlaybackTimeLabel.js +0 -193
- package/dist/js/framework/components/lists/AudioTrackListBox.d.ts +0 -13
- package/dist/js/framework/components/lists/AudioTrackListBox.js +0 -41
- package/dist/js/framework/components/lists/ItemSelectionList.d.ts +0 -16
- package/dist/js/framework/components/lists/ItemSelectionList.js +0 -117
- package/dist/js/framework/components/lists/ListBox.d.ts +0 -21
- package/dist/js/framework/components/lists/ListBox.js +0 -81
- package/dist/js/framework/components/lists/ListSelector.d.ts +0 -134
- package/dist/js/framework/components/lists/ListSelector.js +0 -241
- package/dist/js/framework/components/lists/SubtitleListBox.d.ts +0 -13
- package/dist/js/framework/components/lists/SubtitleListBox.js +0 -41
- package/dist/js/framework/components/overlays/BufferingOverlay.d.ts +0 -26
- package/dist/js/framework/components/overlays/BufferingOverlay.js +0 -84
- package/dist/js/framework/components/overlays/CastStatusOverlay.d.ts +0 -13
- package/dist/js/framework/components/overlays/CastStatusOverlay.js +0 -64
- package/dist/js/framework/components/overlays/ClickOverlay.d.ts +0 -27
- package/dist/js/framework/components/overlays/ClickOverlay.js +0 -61
- package/dist/js/framework/components/overlays/DismissClickOverlay.d.ts +0 -12
- package/dist/js/framework/components/overlays/DismissClickOverlay.js +0 -46
- package/dist/js/framework/components/overlays/ErrorMessageOverlay.d.ts +0 -86
- package/dist/js/framework/components/overlays/ErrorMessageOverlay.js +0 -107
- package/dist/js/framework/components/overlays/PlaybackToggleOverlay.d.ts +0 -21
- package/dist/js/framework/components/overlays/PlaybackToggleOverlay.js +0 -42
- package/dist/js/framework/components/overlays/RecommendationOverlay.d.ts +0 -16
- package/dist/js/framework/components/overlays/RecommendationOverlay.js +0 -95
- package/dist/js/framework/components/overlays/SubtitleOverlay.d.ts +0 -95
- package/dist/js/framework/components/overlays/SubtitleOverlay.js +0 -732
- package/dist/js/framework/components/overlays/TouchControlOverlay.d.ts +0 -56
- package/dist/js/framework/components/overlays/TouchControlOverlay.js +0 -196
- package/dist/js/framework/components/seekbar/SeekBar.d.ts +0 -256
- package/dist/js/framework/components/seekbar/SeekBar.js +0 -990
- package/dist/js/framework/components/seekbar/SeekBarLabel.d.ts +0 -53
- package/dist/js/framework/components/seekbar/SeekBarLabel.js +0 -221
- package/dist/js/framework/components/seekbar/VolumeSlider.d.ts +0 -35
- package/dist/js/framework/components/seekbar/VolumeSlider.js +0 -121
- package/dist/js/framework/components/settings/AudioQualitySelectBox.d.ts +0 -13
- package/dist/js/framework/components/settings/AudioQualitySelectBox.js +0 -76
- package/dist/js/framework/components/settings/AudioTrackSelectBox.d.ts +0 -13
- package/dist/js/framework/components/settings/AudioTrackSelectBox.js +0 -42
- package/dist/js/framework/components/settings/DynamicSettingsPanelItem.d.ts +0 -48
- package/dist/js/framework/components/settings/DynamicSettingsPanelItem.js +0 -134
- package/dist/js/framework/components/settings/InteractiveSettingsPanelItem.d.ts +0 -19
- package/dist/js/framework/components/settings/InteractiveSettingsPanelItem.js +0 -81
- package/dist/js/framework/components/settings/PlaybackSpeedSelectBox.d.ts +0 -17
- package/dist/js/framework/components/settings/PlaybackSpeedSelectBox.js +0 -79
- package/dist/js/framework/components/settings/SelectBox.d.ts +0 -40
- package/dist/js/framework/components/settings/SelectBox.js +0 -199
- package/dist/js/framework/components/settings/SettingsPanel.d.ts +0 -135
- package/dist/js/framework/components/settings/SettingsPanel.js +0 -390
- package/dist/js/framework/components/settings/SettingsPanelItem.d.ts +0 -62
- package/dist/js/framework/components/settings/SettingsPanelItem.js +0 -129
- package/dist/js/framework/components/settings/SettingsPanelPage.d.ts +0 -43
- package/dist/js/framework/components/settings/SettingsPanelPage.js +0 -138
- package/dist/js/framework/components/settings/SettingsPanelPageBackButton.d.ts +0 -10
- package/dist/js/framework/components/settings/SettingsPanelPageBackButton.js +0 -45
- package/dist/js/framework/components/settings/SettingsPanelPageNavigatorButton.d.ts +0 -51
- package/dist/js/framework/components/settings/SettingsPanelPageNavigatorButton.js +0 -60
- package/dist/js/framework/components/settings/SettingsPanelPageOpenButton.d.ts +0 -10
- package/dist/js/framework/components/settings/SettingsPanelPageOpenButton.js +0 -46
- package/dist/js/framework/components/settings/SettingsPanelSelectOption.d.ts +0 -32
- package/dist/js/framework/components/settings/SettingsPanelSelectOption.js +0 -59
- package/dist/js/framework/components/settings/SettingsToggleButton.d.ts +0 -30
- package/dist/js/framework/components/settings/SettingsToggleButton.js +0 -107
- package/dist/js/framework/components/settings/SubtitleSelectBox.d.ts +0 -13
- package/dist/js/framework/components/settings/SubtitleSelectBox.js +0 -44
- package/dist/js/framework/components/settings/VideoQualitySelectBox.d.ts +0 -19
- package/dist/js/framework/components/settings/VideoQualitySelectBox.js +0 -85
- package/dist/js/framework/components/settings/subtitlesettings/BackgroundColorSelectBox.d.ts +0 -12
- package/dist/js/framework/components/settings/subtitlesettings/BackgroundColorSelectBox.js +0 -81
- package/dist/js/framework/components/settings/subtitlesettings/BackgroundOpacitySelectBox.d.ts +0 -12
- package/dist/js/framework/components/settings/subtitlesettings/BackgroundOpacitySelectBox.js +0 -67
- package/dist/js/framework/components/settings/subtitlesettings/CharacterEdgeColorSelectBox.d.ts +0 -12
- package/dist/js/framework/components/settings/subtitlesettings/CharacterEdgeColorSelectBox.js +0 -70
- package/dist/js/framework/components/settings/subtitlesettings/CharacterEdgeSelectBox.d.ts +0 -12
- package/dist/js/framework/components/settings/subtitlesettings/CharacterEdgeSelectBox.js +0 -80
- package/dist/js/framework/components/settings/subtitlesettings/FontColorSelectBox.d.ts +0 -12
- package/dist/js/framework/components/settings/subtitlesettings/FontColorSelectBox.js +0 -81
- package/dist/js/framework/components/settings/subtitlesettings/FontFamilySelectBox.d.ts +0 -12
- package/dist/js/framework/components/settings/subtitlesettings/FontFamilySelectBox.js +0 -66
- package/dist/js/framework/components/settings/subtitlesettings/FontOpacitySelectBox.d.ts +0 -12
- package/dist/js/framework/components/settings/subtitlesettings/FontOpacitySelectBox.js +0 -66
- package/dist/js/framework/components/settings/subtitlesettings/FontSizeSelectBox.d.ts +0 -15
- package/dist/js/framework/components/settings/subtitlesettings/FontSizeSelectBox.js +0 -84
- package/dist/js/framework/components/settings/subtitlesettings/FontStyleSelectBox.d.ts +0 -12
- package/dist/js/framework/components/settings/subtitlesettings/FontStyleSelectBox.js +0 -64
- package/dist/js/framework/components/settings/subtitlesettings/SubtitleSettingSelectBox.d.ts +0 -29
- package/dist/js/framework/components/settings/subtitlesettings/SubtitleSettingSelectBox.js +0 -53
- package/dist/js/framework/components/settings/subtitlesettings/SubtitleSettingsPanelPage.d.ts +0 -23
- package/dist/js/framework/components/settings/subtitlesettings/SubtitleSettingsPanelPage.js +0 -138
- package/dist/js/framework/components/settings/subtitlesettings/SubtitleSettingsResetButton.d.ts +0 -13
- package/dist/js/framework/components/settings/subtitlesettings/SubtitleSettingsResetButton.js +0 -47
- package/dist/js/framework/components/settings/subtitlesettings/WindowColorSelectBox.d.ts +0 -12
- package/dist/js/framework/components/settings/subtitlesettings/WindowColorSelectBox.js +0 -81
- package/dist/js/framework/components/settings/subtitlesettings/WindowOpacitySelectBox.d.ts +0 -12
- package/dist/js/framework/components/settings/subtitlesettings/WindowOpacitySelectBox.js +0 -67
- package/dist/js/framework/spatialnavigation/FocusableContainer.d.ts +0 -21
- package/dist/js/framework/spatialnavigation/FocusableContainer.js +0 -44
- package/dist/js/framework/spatialnavigation/NavigationAlgorithm.d.ts +0 -18
- package/dist/js/framework/spatialnavigation/NavigationAlgorithm.js +0 -176
- package/dist/js/framework/spatialnavigation/NavigationGroup.d.ts +0 -109
- package/dist/js/framework/spatialnavigation/NavigationGroup.js +0 -272
- package/dist/js/framework/spatialnavigation/RecommendationOverlayNavigationGroup.d.ts +0 -8
- package/dist/js/framework/spatialnavigation/RecommendationOverlayNavigationGroup.js +0 -41
- package/dist/js/framework/spatialnavigation/RootNavigationGroup.d.ts +0 -16
- package/dist/js/framework/spatialnavigation/RootNavigationGroup.js +0 -67
- package/dist/js/framework/spatialnavigation/SeekBarHandler.d.ts +0 -31
- package/dist/js/framework/spatialnavigation/SeekBarHandler.js +0 -137
- package/dist/js/framework/spatialnavigation/SettingsPanelNavigationGroup.d.ts +0 -22
- package/dist/js/framework/spatialnavigation/SettingsPanelNavigationGroup.js +0 -102
- package/dist/js/framework/spatialnavigation/SpatialNavigation.d.ts +0 -53
- package/dist/js/framework/spatialnavigation/SpatialNavigation.js +0 -147
- package/dist/js/framework/spatialnavigation/TypeGuards.d.ts +0 -10
- package/dist/js/framework/spatialnavigation/TypeGuards.js +0 -34
- package/dist/js/framework/spatialnavigation/getKeyMapForPlatform.js +0 -136
- package/dist/js/framework/spatialnavigation/helper/resolveAllComponents.d.ts +0 -7
- package/dist/js/framework/spatialnavigation/helper/resolveAllComponents.js +0 -21
- package/dist/js/framework/spatialnavigation/helper/toHtmlElement.d.ts +0 -7
- package/dist/js/framework/spatialnavigation/helper/toHtmlElement.js +0 -11
- package/dist/js/framework/utils/ArrayUtils.js +0 -25
- package/dist/js/framework/utils/AudioTrackUtils.d.ts +0 -22
- package/dist/js/framework/utils/AudioTrackUtils.js +0 -69
- package/dist/js/framework/utils/BrowserUtils.d.ts +0 -26
- package/dist/js/framework/utils/BrowserUtils.js +0 -179
- package/dist/js/framework/utils/ErrorUtils.d.ts +0 -10
- package/dist/js/framework/utils/ErrorUtils.js +0 -86
- package/dist/js/framework/utils/FocusVisibilityTracker.js +0 -63
- package/dist/js/framework/utils/GroupPlaybackAPI.js +0 -18
- package/dist/js/framework/utils/Guid.js +0 -11
- package/dist/js/framework/utils/ImageLoader.js +0 -61
- package/dist/js/framework/utils/MobileV3PlayerAPI.d.ts +0 -23
- package/dist/js/framework/utils/MobileV3PlayerAPI.js +0 -18
- package/dist/js/framework/utils/PlayerUtils.d.ts +0 -83
- package/dist/js/framework/utils/PlayerUtils.js +0 -193
- package/dist/js/framework/utils/SeekBarController.d.ts +0 -43
- package/dist/js/framework/utils/SeekBarController.js +0 -101
- package/dist/js/framework/utils/StorageUtils.d.ts +0 -37
- package/dist/js/framework/utils/StorageUtils.js +0 -88
- package/dist/js/framework/utils/StringUtils.js +0 -194
- package/dist/js/framework/utils/SubtitleSettingsManager.d.ts +0 -43
- package/dist/js/framework/utils/SubtitleSettingsManager.js +0 -188
- package/dist/js/framework/utils/SubtitleUtils.d.ts +0 -24
- package/dist/js/framework/utils/SubtitleUtils.js +0 -106
- package/dist/js/framework/utils/TimelineMarkersHandler.d.ts +0 -38
- package/dist/js/framework/utils/TimelineMarkersHandler.js +0 -224
- package/dist/js/framework/utils/UIUtils.d.ts +0 -19
- package/dist/js/framework/utils/UIUtils.js +0 -36
- package/dist/js/framework/utils/VolumeController.d.ts +0 -41
- package/dist/js/framework/utils/VolumeController.js +0 -119
- package/dist/js/framework/utils/VttUtils.d.ts +0 -13
- package/dist/js/framework/utils/VttUtils.js +0 -203
- package/dist/js/framework/utils/getMinBufferLevel.js +0 -17
- package/docs/.nojekyll +0 -1
- package/docs/assets/hierarchy.js +0 -1
- package/docs/assets/highlight.css +0 -71
- package/docs/assets/icons.js +0 -18
- package/docs/assets/icons.svg +0 -1
- package/docs/assets/main.js +0 -60
- package/docs/assets/navigation.js +0 -1
- package/docs/assets/search.js +0 -1
- package/docs/assets/style.css +0 -1633
- package/docs/classes/AdClickOverlay.html +0 -88
- package/docs/classes/AdControlBar.html +0 -107
- package/docs/classes/AdCounterLabel.html +0 -93
- package/docs/classes/AdMessageLabel.html +0 -93
- package/docs/classes/AdSkipButton.html +0 -84
- package/docs/classes/AdStatusOverlay.html +0 -113
- package/docs/classes/AirPlayToggleButton.html +0 -102
- package/docs/classes/AudioQualitySelectBox.html +0 -123
- package/docs/classes/AudioTrackListBox.html +0 -123
- package/docs/classes/AudioTrackSelectBox.html +0 -123
- package/docs/classes/BackgroundColorSelectBox.html +0 -124
- package/docs/classes/BackgroundOpacitySelectBox.html +0 -124
- package/docs/classes/BrowserUtils.html +0 -17
- package/docs/classes/BufferingOverlay.html +0 -98
- package/docs/classes/Button.html +0 -84
- package/docs/classes/CastStatusOverlay.html +0 -98
- package/docs/classes/CastToggleButton.html +0 -102
- package/docs/classes/CastUIContainer.html +0 -103
- package/docs/classes/CharacterEdgeSelectBox.html +0 -124
- package/docs/classes/ClickOverlay.html +0 -88
- package/docs/classes/CloseButton.html +0 -84
- package/docs/classes/Component.html +0 -83
- package/docs/classes/Container.html +0 -112
- package/docs/classes/ControlBar.html +0 -99
- package/docs/classes/DynamicSettingsPanelItem.html +0 -101
- package/docs/classes/ErrorMessageOverlay.html +0 -99
- package/docs/classes/FontColorSelectBox.html +0 -124
- package/docs/classes/FontFamilySelectBox.html +0 -124
- package/docs/classes/FontOpacitySelectBox.html +0 -124
- package/docs/classes/FontSizeSelectBox.html +0 -125
- package/docs/classes/FullscreenToggleButton.html +0 -102
- package/docs/classes/HugePlaybackToggleButton.html +0 -102
- package/docs/classes/HugeReplayButton.html +0 -84
- package/docs/classes/I18n.html +0 -5
- package/docs/classes/Icon.html +0 -80
- package/docs/classes/ItemSelectionList.html +0 -121
- package/docs/classes/Label.html +0 -99
- package/docs/classes/ListBox.html +0 -138
- package/docs/classes/ListSelector.html +0 -123
- package/docs/classes/MetadataLabel.html +0 -93
- package/docs/classes/NavigationGroup.html +0 -57
- package/docs/classes/PictureInPictureToggleButton.html +0 -102
- package/docs/classes/PlaybackSpeedSelectBox.html +0 -125
- package/docs/classes/PlaybackTimeLabel.html +0 -98
- package/docs/classes/PlaybackToggleButton.html +0 -102
- package/docs/classes/PlaybackToggleOverlay.html +0 -98
- package/docs/classes/PlayerUtils.LiveStreamDetector.html +0 -18
- package/docs/classes/PlayerUtils.TimeShiftAvailabilityDetector.html +0 -4
- package/docs/classes/PlayerWrapper.html +0 -9
- package/docs/classes/QuickSeekButton.html +0 -83
- package/docs/classes/RecommendationItem.html +0 -80
- package/docs/classes/RecommendationOverlay.html +0 -100
- package/docs/classes/ReplayButton.html +0 -84
- package/docs/classes/RootNavigationGroup.html +0 -35
- package/docs/classes/SeekBar.html +0 -120
- package/docs/classes/SeekBarLabel.html +0 -111
- package/docs/classes/SelectBox.html +0 -130
- package/docs/classes/SettingsPanel.html +0 -138
- package/docs/classes/SettingsPanelItem.html +0 -106
- package/docs/classes/SettingsPanelNavigationGroup.html +0 -36
- package/docs/classes/SettingsPanelNavigationGroupConfig.html +0 -5
- package/docs/classes/SettingsPanelPage.html +0 -110
- package/docs/classes/SettingsPanelPageBackButton.html +0 -87
- package/docs/classes/SettingsPanelPageOpenButton.html +0 -87
- package/docs/classes/SettingsToggleButton.html +0 -102
- package/docs/classes/Spacer.html +0 -79
- package/docs/classes/SpatialNavigation.html +0 -11
- package/docs/classes/SubtitleListBox.html +0 -123
- package/docs/classes/SubtitleOverlay.html +0 -110
- package/docs/classes/SubtitleSelectBox.html +0 -123
- package/docs/classes/SubtitleSettingSelectBox.html +0 -124
- package/docs/classes/SubtitleSettingsPanelPage.html +0 -109
- package/docs/classes/SubtitleSettingsResetButton.html +0 -84
- package/docs/classes/TitleBar.html +0 -98
- package/docs/classes/ToggleButton.html +0 -102
- package/docs/classes/UIContainer.html +0 -103
- package/docs/classes/UIInstanceManager.html +0 -32
- package/docs/classes/UIManager.html +0 -53
- package/docs/classes/VRToggleButton.html +0 -102
- package/docs/classes/VideoQualitySelectBox.html +0 -125
- package/docs/classes/VolumeControlButton.html +0 -103
- package/docs/classes/VolumeSlider.html +0 -113
- package/docs/classes/VolumeToggleButton.html +0 -102
- package/docs/classes/Watermark.html +0 -88
- package/docs/classes/WindowColorSelectBox.html +0 -124
- package/docs/classes/WindowOpacitySelectBox.html +0 -124
- package/docs/enums/ButtonStyle.html +0 -12
- package/docs/enums/LabelStyle.html +0 -9
- package/docs/enums/MetadataLabelContent.html +0 -6
- package/docs/enums/NavigationDirection.html +0 -3
- package/docs/enums/PlaybackTimeLabelMode.html +0 -10
- package/docs/enums/PlayerUtils.PlayerState.html +0 -6
- package/docs/enums/UIUtils.KeyCode.html +0 -8
- package/docs/enums/ViewMode.html +0 -6
- package/docs/functions/ArrayUtils.remove.html +0 -5
- package/docs/functions/ErrorUtils.defaultMobileV3ErrorMessageTranslator.html +0 -1
- package/docs/functions/PlayerUtils.clampValueToRange.html +0 -1
- package/docs/functions/PlayerUtils.getCurrentTimeRelativeToSeekableRange.html +0 -3
- package/docs/functions/PlayerUtils.getSeekableRangeRespectingLive.html +0 -3
- package/docs/functions/PlayerUtils.getSeekableRangeStart.html +0 -4
- package/docs/functions/PlayerUtils.getState.html +0 -1
- package/docs/functions/PlayerUtils.isTimeShiftAvailable.html +0 -1
- package/docs/functions/StorageUtils.getItem.html +0 -4
- package/docs/functions/StorageUtils.getObject.html +0 -8
- package/docs/functions/StorageUtils.setItem.html +0 -4
- package/docs/functions/StorageUtils.setObject.html +0 -8
- package/docs/functions/StorageUtils.setStorageApiDisabled.html +0 -1
- package/docs/functions/StringUtils.replaceAdMessagePlaceholders.html +0 -29
- package/docs/functions/StringUtils.secondsToText.html +0 -1
- package/docs/functions/StringUtils.secondsToTime.html +0 -5
- package/docs/functions/UIFactory.buildCastReceiverUI.html +0 -8
- package/docs/functions/UIFactory.buildSmallScreenUI.html +0 -10
- package/docs/functions/UIFactory.buildSubtitleUI.html +0 -7
- package/docs/functions/UIFactory.buildTvUI.html +0 -8
- package/docs/functions/UIFactory.buildUI.html +0 -14
- package/docs/functions/UIUtils.traverseTree.html +0 -1
- package/docs/hierarchy.html +0 -1
- package/docs/index.html +0 -33
- package/docs/interfaces/ActiveUiChangedArgs.html +0 -5
- package/docs/interfaces/AdControlBarConfig.html +0 -28
- package/docs/interfaces/AdSkipButtonConfig.html +0 -40
- package/docs/interfaces/BufferingOverlayConfig.html +0 -32
- package/docs/interfaces/ButtonConfig.html +0 -34
- package/docs/interfaces/ClickOverlayConfig.html +0 -36
- package/docs/interfaces/CloseButtonConfig.html +0 -36
- package/docs/interfaces/ComponentConfig.html +0 -27
- package/docs/interfaces/ComponentFocusChangedEventArgs.html +0 -3
- package/docs/interfaces/ComponentHoverChangedEventArgs.html +0 -3
- package/docs/interfaces/ContainerConfig.html +0 -28
- package/docs/interfaces/ControlBarConfig.html +0 -28
- package/docs/interfaces/DynamicSettingsPanelItemConfig.html +0 -44
- package/docs/interfaces/ErrorMessageMap.html +0 -1
- package/docs/interfaces/ErrorMessageOverlayConfig.html +0 -79
- package/docs/interfaces/ErrorMessageTranslator.html +0 -1
- package/docs/interfaces/ExternalRecommendationLink.html +0 -7
- package/docs/interfaces/IconConfig.html +0 -29
- package/docs/interfaces/InternalUIConfig.html +0 -57
- package/docs/interfaces/LabelConfig.html +0 -33
- package/docs/interfaces/ListBoxConfig.html +0 -42
- package/docs/interfaces/ListItem.html +0 -6
- package/docs/interfaces/ListItemFilter.html +0 -7
- package/docs/interfaces/ListItemLabelTranslator.html +0 -7
- package/docs/interfaces/ListSelectorConfig.html +0 -29
- package/docs/interfaces/LocalizationConfig.html +0 -7
- package/docs/interfaces/MetadataLabelConfig.html +0 -35
- package/docs/interfaces/PlaybackTimeLabelConfig.html +0 -37
- package/docs/interfaces/PlaybackToggleButtonConfig.html +0 -52
- package/docs/interfaces/PlaybackToggleOverlayConfig.html +0 -31
- package/docs/interfaces/PlayerUtils.LiveStreamDetectorEventArgs.html +0 -2
- package/docs/interfaces/PlayerUtils.TimeShiftAvailabilityChangedArgs.html +0 -2
- package/docs/interfaces/QuickSeekButtonConfig.html +0 -37
- package/docs/interfaces/RecommendationConfig.html +0 -14
- package/docs/interfaces/RecommendationItemConfig.html +0 -28
- package/docs/interfaces/SeekBarConfig.html +0 -48
- package/docs/interfaces/SeekBarLabelConfig.html +0 -28
- package/docs/interfaces/SeekBarMarker.html +0 -5
- package/docs/interfaces/SeekPreviewArgs.html +0 -5
- package/docs/interfaces/SeekPreviewEventArgs.html +0 -8
- package/docs/interfaces/SettingsPanelConfig.html +0 -35
- package/docs/interfaces/SettingsPanelItemConfig.html +0 -40
- package/docs/interfaces/SettingsPanelPageConfig.html +0 -30
- package/docs/interfaces/SettingsToggleButtonConfig.html +0 -54
- package/docs/interfaces/SubtitleSettingSelectBoxConfig.html +0 -29
- package/docs/interfaces/SubtitleSettingsPanelPageConfig.html +0 -32
- package/docs/interfaces/TimelineMarker.html +0 -21
- package/docs/interfaces/TitleBarConfig.html +0 -32
- package/docs/interfaces/ToggleButtonConfig.html +0 -49
- package/docs/interfaces/UIConditionContext.html +0 -20
- package/docs/interfaces/UIConditionResolver.html +0 -4
- package/docs/interfaces/UIConfig.html +0 -54
- package/docs/interfaces/UIContainerConfig.html +0 -42
- package/docs/interfaces/UIUtils.TreeTraversalCallback.html +0 -1
- package/docs/interfaces/UIVariant.html +0 -5
- package/docs/interfaces/ViewModeChangedEventArgs.html +0 -3
- package/docs/interfaces/Vocabularies.html +0 -1
- package/docs/interfaces/Vocabulary.html +0 -72
- package/docs/interfaces/VolumeControlButtonConfig.html +0 -37
- package/docs/interfaces/VolumeSliderConfig.html +0 -55
- package/docs/interfaces/WatermarkConfig.html +0 -36
- package/docs/interfaces/WrappedPlayer.html +0 -367
- package/docs/media/CHANGELOG.md +0 -1709
- package/docs/media/CONTRIBUTING.md +0 -56
- package/docs/modules/ArrayUtils.html +0 -1
- package/docs/modules/ErrorUtils.html +0 -1
- package/docs/modules/PlayerUtils.html +0 -1
- package/docs/modules/StorageUtils.html +0 -1
- package/docs/modules/StringUtils.html +0 -1
- package/docs/modules/UIFactory.html +0 -2
- package/docs/modules/UIUtils.html +0 -1
- package/docs/modules.html +0 -1
- package/docs/types/CustomVocabulary.html +0 -1
- package/docs/types/LocalizableText.html +0 -1
- package/docs/types/Localizer.html +0 -1
- package/docs/variables/ErrorUtils.defaultErrorMessages.html +0 -1
- package/docs/variables/ErrorUtils.defaultWebErrorMessageTranslator.html +0 -1
- package/docs/variables/StringUtils.FORMAT_HHMMSS.html +0 -1
- package/docs/variables/StringUtils.FORMAT_MMSS.html +0 -1
- package/docs/variables/i18n.html +0 -1
- package/docs/variables/version.html +0 -1
- package/src/html/tts-testing.html +0 -341
- package/src/scss/_ads.scss +0 -50
- package/src/scss/_cast-receiver.scss +0 -88
- package/src/scss/_mixins.scss +0 -164
- package/src/scss/_small-screen.scss +0 -60
- package/src/scss/_tv.scss +0 -8
- package/src/scss/_variables.scss +0 -134
- package/src/scss/components/_container.scss +0 -9
- package/src/scss/components/_control-bar.scss +0 -51
- package/src/scss/components/_icon.scss +0 -25
- package/src/scss/components/_title-bar.scss +0 -63
- package/src/scss/components/_uicontainer.scss +0 -43
- package/src/scss/components/_watermark.scss +0 -26
- package/src/scss/components/ads/_ad-control-bar.scss +0 -71
- package/src/scss/components/ads/_ad-counter-label.scss +0 -5
- package/src/scss/components/ads/_ad-message-label.scss +0 -16
- package/src/scss/components/ads/_ad-skip-button.scss +0 -32
- package/src/scss/components/ads/_ad-status-overlay.scss +0 -23
- package/src/scss/components/buttons/_airplay-toggle-button.scss +0 -21
- package/src/scss/components/buttons/_audio-track-list-box-toggle-button.scss +0 -15
- package/src/scss/components/buttons/_audio-tracks-settings-panel-toggle-button.scss +0 -12
- package/src/scss/components/buttons/_button.scss +0 -49
- package/src/scss/components/buttons/_cast-toggle-button.scss +0 -14
- package/src/scss/components/buttons/_close-button.scss +0 -34
- package/src/scss/components/buttons/_eco-mode-toggle-button.scss +0 -42
- package/src/scss/components/buttons/_fullscreen-toggle-button.scss +0 -20
- package/src/scss/components/buttons/_huge-playback-toggle-button.scss +0 -92
- package/src/scss/components/buttons/_huge-replay-button.scss +0 -17
- package/src/scss/components/buttons/_picture-in-picture-toggle-button.scss +0 -20
- package/src/scss/components/buttons/_playback-toggle-button.scss +0 -26
- package/src/scss/components/buttons/_quick-seek-button.scss +0 -22
- package/src/scss/components/buttons/_replay-button.scss +0 -14
- package/src/scss/components/buttons/_small-centered-playback-toggle-button.scss +0 -44
- package/src/scss/components/buttons/_subtitle-list-box-toggle-button.scss +0 -15
- package/src/scss/components/buttons/_volume-control-button.scss +0 -30
- package/src/scss/components/buttons/_volume-toggle-button.scss +0 -44
- package/src/scss/components/buttons/_vr-toggle-button.scss +0 -15
- package/src/scss/components/labels/_label.scss +0 -28
- package/src/scss/components/labels/_playback-time-label.scss +0 -24
- package/src/scss/components/overlays/_buffering-overlay.scss +0 -80
- package/src/scss/components/overlays/_cast-status-overlay.scss +0 -27
- package/src/scss/components/overlays/_click-overlay.scss +0 -7
- package/src/scss/components/overlays/_click-to-dismiss-overlay.scss +0 -7
- package/src/scss/components/overlays/_error-message-overlay.scss +0 -44
- package/src/scss/components/overlays/_playback-toggle-overlay.scss +0 -10
- package/src/scss/components/overlays/_recommendation-overlay.scss +0 -110
- package/src/scss/components/overlays/_subtitle-overlay-cea608.scss +0 -45
- package/src/scss/components/overlays/_subtitle-overlay.scss +0 -77
- package/src/scss/components/overlays/_touch-control-overlay.scss +0 -77
- package/src/scss/components/seekbar/_seek-bar-label.scss +0 -68
- package/src/scss/components/seekbar/_seek-bar.scss +0 -164
- package/src/scss/components/seekbar/_volume-slider.scss +0 -21
- package/src/scss/components/settings/_select-box.scss +0 -22
- package/src/scss/components/settings/_settings-panel-item.scss +0 -80
- package/src/scss/components/settings/_settings-panel-navigation-text-button.scss +0 -21
- package/src/scss/components/settings/_settings-panel-page-back-button.scss +0 -31
- package/src/scss/components/settings/_settings-panel-page-open-button.scss +0 -25
- package/src/scss/components/settings/_settings-panel-page.scss +0 -13
- package/src/scss/components/settings/_settings-panel.scss +0 -50
- package/src/scss/components/settings/_settings-toggle-button.scss +0 -25
- package/src/scss/components/settings/subtitlesettings/_subtitle-overlay-settings.scss +0 -155
- package/src/scss/components/settings/subtitlesettings/_subtitle-settings.scss +0 -2
- package/src/ts/DOM.ts +0 -623
- package/src/ts/EventDispatcher.ts +0 -270
- package/src/ts/UIConfig.ts +0 -172
- package/src/ts/UIFactory.ts +0 -764
- package/src/ts/UIManager.ts +0 -1067
- package/src/ts/components/CastUIContainer.ts +0 -80
- package/src/ts/components/Component.ts +0 -621
- package/src/ts/components/Container.ts +0 -201
- package/src/ts/components/ControlBar.ts +0 -99
- package/src/ts/components/DummyComponent.ts +0 -24
- package/src/ts/components/EcoModeContainer.ts +0 -134
- package/src/ts/components/Icon.ts +0 -35
- package/src/ts/components/RecommendationItem.ts +0 -129
- package/src/ts/components/Spacer.ts +0 -32
- package/src/ts/components/TitleBar.ts +0 -121
- package/src/ts/components/TvNoiseCanvas.ts +0 -108
- package/src/ts/components/UIContainer.ts +0 -495
- package/src/ts/components/Watermark.ts +0 -34
- package/src/ts/components/ads/AdClickOverlay.ts +0 -52
- package/src/ts/components/ads/AdControlBar.ts +0 -116
- package/src/ts/components/ads/AdCounterLabel.ts +0 -38
- package/src/ts/components/ads/AdMessageLabel.ts +0 -46
- package/src/ts/components/ads/AdSkipButton.ts +0 -97
- package/src/ts/components/ads/AdStatusOverlay.ts +0 -33
- package/src/ts/components/buttons/AirPlayToggleButton.ts +0 -67
- package/src/ts/components/buttons/Button.ts +0 -175
- package/src/ts/components/buttons/CastToggleButton.ts +0 -70
- package/src/ts/components/buttons/CloseButton.ts +0 -47
- package/src/ts/components/buttons/EcoModeToggleButton.ts +0 -92
- package/src/ts/components/buttons/FullscreenToggleButton.ts +0 -69
- package/src/ts/components/buttons/HugePlaybackToggleButton.ts +0 -177
- package/src/ts/components/buttons/HugeReplayButton.ts +0 -33
- package/src/ts/components/buttons/PictureInPictureToggleButton.ts +0 -72
- package/src/ts/components/buttons/PlaybackToggleButton.ts +0 -153
- package/src/ts/components/buttons/QuickSeekButton.ts +0 -139
- package/src/ts/components/buttons/ReplayButton.ts +0 -54
- package/src/ts/components/buttons/SmallCenteredPlaybackToggleButton.ts +0 -103
- package/src/ts/components/buttons/ToggleButton.ts +0 -217
- package/src/ts/components/buttons/VRToggleButton.ts +0 -94
- package/src/ts/components/buttons/VolumeControlButton.ts +0 -133
- package/src/ts/components/buttons/VolumeToggleButton.ts +0 -49
- package/src/ts/components/labels/Label.ts +0 -195
- package/src/ts/components/labels/MetadataLabel.ts +0 -77
- package/src/ts/components/labels/PlaybackTimeLabel.ts +0 -212
- package/src/ts/components/lists/AudioTrackListBox.ts +0 -25
- package/src/ts/components/lists/ItemSelectionList.ts +0 -116
- package/src/ts/components/lists/ListBox.ts +0 -96
- package/src/ts/components/lists/ListSelector.ts +0 -279
- package/src/ts/components/lists/SubtitleListBox.ts +0 -26
- package/src/ts/components/overlays/BufferingOverlay.ts +0 -93
- package/src/ts/components/overlays/CastStatusOverlay.ts +0 -53
- package/src/ts/components/overlays/ClickOverlay.ts +0 -60
- package/src/ts/components/overlays/DismissClickOverlay.ts +0 -40
- package/src/ts/components/overlays/ErrorMessageOverlay.ts +0 -192
- package/src/ts/components/overlays/PlaybackToggleOverlay.ts +0 -40
- package/src/ts/components/overlays/RecommendationOverlay.ts +0 -91
- package/src/ts/components/overlays/SubtitleOverlay.ts +0 -851
- package/src/ts/components/overlays/TouchControlOverlay.ts +0 -262
- package/src/ts/components/seekbar/SeekBar.ts +0 -1241
- package/src/ts/components/seekbar/SeekBarLabel.ts +0 -255
- package/src/ts/components/seekbar/VolumeSlider.ts +0 -149
- package/src/ts/components/settings/AudioQualitySelectBox.ts +0 -70
- package/src/ts/components/settings/AudioTrackSelectBox.ts +0 -30
- package/src/ts/components/settings/DynamicSettingsPanelItem.ts +0 -171
- package/src/ts/components/settings/InteractiveSettingsPanelItem.ts +0 -65
- package/src/ts/components/settings/PlaybackSpeedSelectBox.ts +0 -72
- package/src/ts/components/settings/SelectBox.ts +0 -218
- package/src/ts/components/settings/SettingsPanel.ts +0 -462
- package/src/ts/components/settings/SettingsPanelItem.ts +0 -162
- package/src/ts/components/settings/SettingsPanelPage.ts +0 -138
- package/src/ts/components/settings/SettingsPanelPageBackButton.ts +0 -32
- package/src/ts/components/settings/SettingsPanelPageNavigatorButton.ts +0 -73
- package/src/ts/components/settings/SettingsPanelPageOpenButton.ts +0 -34
- package/src/ts/components/settings/SettingsPanelSelectOption.ts +0 -70
- package/src/ts/components/settings/SettingsToggleButton.ts +0 -119
- package/src/ts/components/settings/SubtitleSelectBox.ts +0 -32
- package/src/ts/components/settings/VideoQualitySelectBox.ts +0 -84
- package/src/ts/components/settings/subtitlesettings/BackgroundColorSelectBox.ts +0 -73
- package/src/ts/components/settings/subtitlesettings/BackgroundOpacitySelectBox.ts +0 -57
- package/src/ts/components/settings/subtitlesettings/CharacterEdgeColorSelectBox.ts +0 -60
- package/src/ts/components/settings/subtitlesettings/CharacterEdgeSelectBox.ts +0 -72
- package/src/ts/components/settings/subtitlesettings/FontColorSelectBox.ts +0 -73
- package/src/ts/components/settings/subtitlesettings/FontFamilySelectBox.ts +0 -56
- package/src/ts/components/settings/subtitlesettings/FontOpacitySelectBox.ts +0 -56
- package/src/ts/components/settings/subtitlesettings/FontSizeSelectBox.ts +0 -79
- package/src/ts/components/settings/subtitlesettings/FontStyleSelectBox.ts +0 -53
- package/src/ts/components/settings/subtitlesettings/SubtitleSettingSelectBox.ts +0 -52
- package/src/ts/components/settings/subtitlesettings/SubtitleSettingsPanelPage.ts +0 -195
- package/src/ts/components/settings/subtitlesettings/SubtitleSettingsResetButton.ts +0 -37
- package/src/ts/components/settings/subtitlesettings/WindowColorSelectBox.ts +0 -73
- package/src/ts/components/settings/subtitlesettings/WindowOpacitySelectBox.ts +0 -57
- package/src/ts/spatialnavigation/FocusableContainer.ts +0 -38
- package/src/ts/spatialnavigation/NavigationAlgorithm.ts +0 -174
- package/src/ts/spatialnavigation/NavigationGroup.ts +0 -322
- package/src/ts/spatialnavigation/NodeEventSubscriber.ts +0 -76
- package/src/ts/spatialnavigation/RecommendationOverlayNavigationGroup.ts +0 -29
- package/src/ts/spatialnavigation/RootNavigationGroup.ts +0 -41
- package/src/ts/spatialnavigation/SeekBarHandler.ts +0 -165
- package/src/ts/spatialnavigation/SettingsPanelNavigationGroup.ts +0 -91
- package/src/ts/spatialnavigation/SpatialNavigation.ts +0 -158
- package/src/ts/spatialnavigation/TypeGuards.ts +0 -32
- package/src/ts/spatialnavigation/getKeyMapForPlatform.ts +0 -143
- package/src/ts/spatialnavigation/helper/resolveAllComponents.ts +0 -21
- package/src/ts/spatialnavigation/helper/toHtmlElement.ts +0 -10
- package/src/ts/utils/AudioTrackUtils.ts +0 -79
- package/src/ts/utils/BrowserUtils.ts +0 -141
- package/src/ts/utils/ErrorUtils.ts +0 -88
- package/src/ts/utils/FocusVisibilityTracker.ts +0 -69
- package/src/ts/utils/GroupPlaybackAPI.ts +0 -92
- package/src/ts/utils/Guid.ts +0 -7
- package/src/ts/utils/ImageLoader.ts +0 -73
- package/src/ts/utils/MobileV3PlayerAPI.ts +0 -37
- package/src/ts/utils/PlayerUtils.ts +0 -204
- package/src/ts/utils/SeekBarController.ts +0 -124
- package/src/ts/utils/StorageUtils.ts +0 -88
- package/src/ts/utils/StringUtils.ts +0 -212
- package/src/ts/utils/SubtitleSettingsManager.ts +0 -177
- package/src/ts/utils/SubtitleUtils.ts +0 -111
- package/src/ts/utils/TimelineMarkersHandler.ts +0 -288
- package/src/ts/utils/Timeout.ts +0 -109
- package/src/ts/utils/UIUtils.ts +0 -38
- package/src/ts/utils/VolumeController.ts +0 -131
- package/src/ts/utils/VttUtils.ts +0 -243
- package/src/ts/utils/getMinBufferLevel.ts +0 -21
- package/webpack.config.js +0 -167
- /package/dist/js/framework/{utils/ArrayUtils.d.ts → arrayutils.d.ts} +0 -0
- /package/dist/js/framework/{utils/getMinBufferLevel.d.ts → components/seekbarbufferlevel.d.ts} +0 -0
- /package/dist/js/framework/{EventDispatcher.d.ts → eventdispatcher.d.ts} +0 -0
- /package/dist/js/framework/{utils/FocusVisibilityTracker.d.ts → focusvisibilitytracker.d.ts} +0 -0
- /package/dist/js/framework/{utils/GroupPlaybackAPI.d.ts → groupplaybackapi.d.ts} +0 -0
- /package/dist/js/framework/{utils/Guid.d.ts → guid.d.ts} +0 -0
- /package/dist/js/framework/{utils/ImageLoader.d.ts → imageloader.d.ts} +0 -0
- /package/dist/js/framework/spatialnavigation/{getKeyMapForPlatform.d.ts → keymap.d.ts} +0 -0
- /package/dist/js/framework/spatialnavigation/{NodeEventSubscriber.d.ts → nodeeventsubscriber.d.ts} +0 -0
- /package/dist/js/framework/spatialnavigation/{NodeEventSubscriber.js → nodeeventsubscriber.js} +0 -0
- /package/dist/js/framework/{utils/StringUtils.d.ts → stringutils.d.ts} +0 -0
- /package/dist/js/framework/{utils/Timeout.d.ts → timeout.d.ts} +0 -0
- /package/dist/js/framework/{utils/Timeout.js → timeout.js} +0 -0
- /package/dist/js/framework/{UIConfig.js → uiconfig.js} +0 -0
- /package/src/scss/{components → skin-modern/components}/_component.scss +0 -0
- /package/src/scss/{components → skin-modern/components}/_spacer.scss +0 -0
- /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 }}
|