bitmovin-player-ui 4.11.1 → 4.13.0
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/CHANGELOG.md +30 -0
- package/dist/css/bitmovinplayer-ui.css +1 -1
- package/dist/css/bitmovinplayer-ui.css.map +1 -1
- package/dist/js/bitmovinplayer-ui.js +1 -1
- package/dist/js/bitmovinplayer-ui.js.map +1 -1
- package/dist/js/framework/UIFactory.js +2 -2
- package/dist/js/framework/components/UIContainer.js +2 -0
- package/dist/js/framework/components/lists/AudioTrackListBox.d.ts +5 -2
- package/dist/js/framework/components/lists/AudioTrackListBox.js +18 -6
- package/dist/js/framework/components/lists/ItemSelectionList.d.ts +1 -2
- package/dist/js/framework/components/lists/ItemSelectionList.js +2 -6
- package/dist/js/framework/components/lists/ListBox.js +29 -14
- package/dist/js/framework/components/lists/ListSelector.d.ts +54 -0
- package/dist/js/framework/components/lists/ListSelector.js +123 -27
- package/dist/js/framework/components/lists/SubtitleListBox.d.ts +8 -2
- package/dist/js/framework/components/lists/SubtitleListBox.js +21 -6
- package/dist/js/framework/components/overlays/SubtitleOverlay.d.ts +14 -2
- package/dist/js/framework/components/overlays/SubtitleOverlay.js +22 -7
- package/dist/js/framework/components/settings/SelectBox.d.ts +1 -2
- package/dist/js/framework/components/settings/SelectBox.js +2 -6
- package/dist/js/framework/components/settings/SubtitleSelectBox.d.ts +3 -0
- package/dist/js/framework/components/settings/SubtitleSelectBox.js +32 -2
- package/dist/js/framework/main.d.ts +4 -4
- package/dist/js/framework/spatialnavigation/NavigationGroup.d.ts +16 -3
- package/dist/js/framework/spatialnavigation/NavigationGroup.js +10 -0
- package/dist/js/framework/spatialnavigation/types.d.ts +1 -0
- package/dist/js/framework/utils/AudioTrackUtils.d.ts +2 -0
- package/dist/js/framework/utils/AudioTrackUtils.js +37 -9
- package/dist/js/framework/utils/SubtitleUtils.d.ts +3 -1
- package/dist/js/framework/utils/SubtitleUtils.js +27 -8
- package/docs/assets/hierarchy.js +1 -1
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/AdClickOverlay.html +28 -28
- package/docs/classes/AdControlBar.html +31 -31
- package/docs/classes/AdCounterLabel.html +31 -31
- package/docs/classes/AdMessageLabel.html +31 -31
- package/docs/classes/AdSkipButton.html +27 -27
- package/docs/classes/AdStatusOverlay.html +31 -31
- package/docs/classes/AirPlayToggleButton.html +35 -35
- package/docs/classes/AudioQualitySelectBox.html +48 -40
- package/docs/classes/AudioTrackListBox.html +40 -40
- package/docs/classes/AudioTrackSelectBox.html +48 -40
- package/docs/classes/BackgroundColorSelectBox.html +48 -40
- package/docs/classes/BackgroundOpacitySelectBox.html +48 -40
- package/docs/classes/BrowserUtils.html +2 -2
- package/docs/classes/BufferingOverlay.html +31 -31
- package/docs/classes/Button.html +27 -27
- package/docs/classes/CastStatusOverlay.html +31 -31
- package/docs/classes/CastToggleButton.html +35 -35
- package/docs/classes/CastUIContainer.html +31 -31
- package/docs/classes/CharacterEdgeColorSelectBox.html +48 -40
- package/docs/classes/CharacterEdgeSelectBox.html +48 -40
- package/docs/classes/ClickOverlay.html +28 -28
- package/docs/classes/CloseButton.html +27 -27
- package/docs/classes/Component.html +25 -25
- package/docs/classes/Container.html +31 -31
- package/docs/classes/ControlBar.html +31 -31
- package/docs/classes/DismissClickOverlay.html +31 -31
- package/docs/classes/DynamicSettingsPanelItem.html +34 -34
- package/docs/classes/EcoModeContainer.html +32 -32
- package/docs/classes/EcoModeToggleButton.html +35 -35
- package/docs/classes/ErrorMessageOverlay.html +31 -31
- package/docs/classes/FontColorSelectBox.html +48 -40
- package/docs/classes/FontFamilySelectBox.html +48 -40
- package/docs/classes/FontOpacitySelectBox.html +48 -40
- package/docs/classes/FontSizeSelectBox.html +48 -40
- package/docs/classes/FontStyleSelectBox.html +48 -40
- package/docs/classes/FullscreenToggleButton.html +35 -35
- package/docs/classes/HugePlaybackToggleButton.html +35 -35
- package/docs/classes/HugeReplayButton.html +27 -27
- package/docs/classes/I18n.html +2 -2
- package/docs/classes/Icon.html +25 -25
- package/docs/classes/InteractiveSettingsPanelItem.html +34 -34
- package/docs/classes/ItemSelectionList.html +48 -40
- package/docs/classes/Label.html +31 -31
- package/docs/classes/ListBox.html +39 -39
- package/docs/classes/ListSelector.html +48 -40
- package/docs/classes/MetadataLabel.html +31 -31
- package/docs/classes/NavigationGroup.html +23 -14
- package/docs/classes/PictureInPictureToggleButton.html +35 -35
- package/docs/classes/PlaybackSpeedSelectBox.html +48 -40
- package/docs/classes/PlaybackTimeLabel.html +32 -32
- package/docs/classes/PlaybackToggleButton.html +35 -35
- package/docs/classes/PlaybackToggleOverlay.html +31 -31
- package/docs/classes/PlayerUtils.LiveStreamDetector.html +2 -2
- package/docs/classes/PlayerUtils.TimeShiftAvailabilityDetector.html +2 -2
- package/docs/classes/PlayerWrapper.html +4 -4
- package/docs/classes/QuickSeekButton.html +27 -27
- package/docs/classes/RecommendationItem.html +25 -25
- package/docs/classes/RecommendationOverlay.html +31 -31
- package/docs/classes/ReplayButton.html +27 -27
- package/docs/classes/RootNavigationGroup.html +23 -14
- package/docs/classes/SeekBar.html +36 -36
- package/docs/classes/SeekBarLabel.html +35 -35
- package/docs/classes/SelectBox.html +48 -40
- package/docs/classes/SettingsPanel.html +39 -39
- package/docs/classes/SettingsPanelItem.html +33 -33
- package/docs/classes/SettingsPanelNavigationGroup.html +23 -14
- package/docs/classes/SettingsPanelNavigationGroupConfig.html +2 -2
- package/docs/classes/SettingsPanelPage.html +33 -33
- package/docs/classes/SettingsPanelPageBackButton.html +29 -29
- package/docs/classes/SettingsPanelPageNavigatorButton.html +29 -29
- package/docs/classes/SettingsPanelPageOpenButton.html +29 -29
- package/docs/classes/SettingsPanelSelectOption.html +34 -34
- package/docs/classes/SettingsToggleButton.html +35 -35
- package/docs/classes/ShadowDomManager.html +2 -2
- package/docs/classes/SmallCenteredPlaybackToggleButton.html +35 -35
- package/docs/classes/Spacer.html +25 -25
- package/docs/classes/SpatialNavigation.html +4 -4
- package/docs/classes/SubtitleListBox.html +42 -40
- package/docs/classes/SubtitleOverlay.html +31 -31
- package/docs/classes/SubtitleSelectBox.html +50 -40
- package/docs/classes/SubtitleSettingSelectBox.html +48 -40
- package/docs/classes/SubtitleSettingsPanelPage.html +33 -33
- package/docs/classes/SubtitleSettingsResetButton.html +27 -27
- package/docs/classes/TitleBar.html +31 -31
- package/docs/classes/ToggleButton.html +35 -35
- package/docs/classes/TouchControlOverlay.html +31 -31
- package/docs/classes/TvNoiseCanvas.html +25 -25
- package/docs/classes/UIContainer.html +31 -31
- package/docs/classes/UIInstanceManager.html +14 -14
- package/docs/classes/UIManager.html +15 -15
- package/docs/classes/VRToggleButton.html +35 -35
- package/docs/classes/VideoQualitySelectBox.html +49 -41
- package/docs/classes/VolumeControlButton.html +33 -33
- package/docs/classes/VolumeSlider.html +36 -36
- package/docs/classes/VolumeToggleButton.html +35 -35
- package/docs/classes/Watermark.html +28 -28
- package/docs/classes/WindowColorSelectBox.html +48 -40
- package/docs/classes/WindowOpacitySelectBox.html +48 -40
- package/docs/enums/ButtonStyle.html +5 -5
- package/docs/enums/LabelStyle.html +4 -4
- package/docs/enums/MetadataLabelContent.html +3 -3
- package/docs/enums/NavigationDirection.html +2 -2
- package/docs/enums/PlaybackTimeLabelMode.html +5 -5
- package/docs/enums/PlayerUtils.PlayerState.html +2 -2
- package/docs/enums/UIUtils.KeyCode.html +2 -2
- package/docs/enums/ViewMode.html +3 -3
- package/docs/functions/ArrayUtils.remove.html +1 -1
- package/docs/functions/ErrorUtils.defaultMobileV3ErrorMessageTranslator.html +1 -1
- package/docs/functions/PlayerUtils.clampValueToRange.html +1 -1
- package/docs/functions/PlayerUtils.getCurrentTimeRelativeToSeekableRange.html +1 -1
- package/docs/functions/PlayerUtils.getSeekableRangeRespectingLive.html +1 -1
- package/docs/functions/PlayerUtils.getSeekableRangeStart.html +1 -1
- package/docs/functions/PlayerUtils.getState.html +1 -1
- package/docs/functions/PlayerUtils.isTimeShiftAvailable.html +1 -1
- package/docs/functions/StorageUtils.getItem.html +1 -1
- package/docs/functions/StorageUtils.getObject.html +1 -1
- package/docs/functions/StorageUtils.setItem.html +1 -1
- package/docs/functions/StorageUtils.setObject.html +1 -1
- package/docs/functions/StorageUtils.setStorageApiDisabled.html +1 -1
- package/docs/functions/StringUtils.replaceAdMessagePlaceholders.html +1 -1
- package/docs/functions/StringUtils.secondsToText.html +1 -1
- package/docs/functions/StringUtils.secondsToTime.html +1 -1
- package/docs/functions/UIFactory.buildCastReceiverUI.html +1 -1
- package/docs/functions/UIFactory.buildSmallScreenUI.html +1 -1
- package/docs/functions/UIFactory.buildSubtitleUI.html +1 -1
- package/docs/functions/UIFactory.buildTvUI.html +1 -1
- package/docs/functions/UIFactory.buildUI.html +1 -1
- package/docs/functions/UIFactory.defaultLayouts.ads.html +1 -1
- package/docs/functions/UIFactory.defaultLayouts.castReceiver.html +1 -1
- package/docs/functions/UIFactory.defaultLayouts.emptyState.html +1 -1
- package/docs/functions/UIFactory.defaultLayouts.main.html +1 -1
- package/docs/functions/UIFactory.defaultLayouts.smallScreen.html +1 -1
- package/docs/functions/UIFactory.defaultLayouts.smallScreenAds.html +1 -1
- package/docs/functions/UIFactory.defaultLayouts.subtitle.html +1 -1
- package/docs/functions/UIFactory.defaultLayouts.tv.html +1 -1
- package/docs/functions/UIFactory.defaultLayouts.tvAds.html +1 -1
- package/docs/functions/UIUtils.traverseTree.html +1 -1
- package/docs/hierarchy.html +1 -1
- package/docs/interfaces/ActiveUiChangedArgs.html +3 -3
- package/docs/interfaces/AdControlBarConfig.html +12 -12
- package/docs/interfaces/AdSkipButtonConfig.html +16 -16
- package/docs/interfaces/AudioTrackListBoxConfig.html +49 -0
- package/docs/interfaces/BufferingOverlayConfig.html +13 -13
- package/docs/interfaces/ButtonConfig.html +14 -14
- package/docs/interfaces/ClickOverlayConfig.html +15 -15
- package/docs/interfaces/CloseButtonConfig.html +15 -15
- package/docs/interfaces/ComponentConfig.html +11 -11
- package/docs/interfaces/ComponentFocusChangedEventArgs.html +2 -2
- package/docs/interfaces/ComponentHoverChangedEventArgs.html +2 -2
- package/docs/interfaces/ContainerConfig.html +12 -12
- package/docs/interfaces/ControlBarConfig.html +12 -12
- package/docs/interfaces/DismissClickOverlayConfig.html +14 -14
- package/docs/interfaces/DynamicSettingsPanelItemConfig.html +19 -19
- package/docs/interfaces/ErrorMessageMap.html +1 -1
- package/docs/interfaces/ErrorMessageOverlayConfig.html +13 -13
- package/docs/interfaces/ErrorMessageTranslator.html +1 -1
- package/docs/interfaces/ExternalRecommendationLink.html +3 -3
- package/docs/interfaces/InternalUIConfig.html +18 -18
- package/docs/interfaces/LabelConfig.html +14 -14
- package/docs/interfaces/ListBoxConfig.html +22 -17
- package/docs/interfaces/ListItem.html +2 -2
- package/docs/interfaces/ListItemFilter.html +1 -1
- package/docs/interfaces/ListItemLabelTranslator.html +1 -1
- package/docs/interfaces/ListSelectorConfig.html +16 -11
- package/docs/interfaces/LocalizationConfig.html +5 -5
- package/docs/interfaces/MetadataLabelConfig.html +15 -15
- package/docs/interfaces/PlaybackTimeLabelConfig.html +16 -16
- package/docs/interfaces/PlaybackToggleButtonConfig.html +19 -19
- package/docs/interfaces/PlaybackToggleOverlayConfig.html +13 -13
- package/docs/interfaces/PlayerUtils.LiveStreamDetectorEventArgs.html +2 -2
- package/docs/interfaces/PlayerUtils.TimeShiftAvailabilityChangedArgs.html +2 -2
- package/docs/interfaces/QuickSeekButtonConfig.html +15 -15
- package/docs/interfaces/RecommendationConfig.html +4 -4
- package/docs/interfaces/RecommendationItemConfig.html +12 -12
- package/docs/interfaces/SeekBarConfig.html +19 -19
- package/docs/interfaces/SeekBarLabelConfig.html +12 -12
- package/docs/interfaces/SeekBarMarker.html +2 -2
- package/docs/interfaces/SeekPreviewArgs.html +3 -3
- package/docs/interfaces/SeekPreviewEventArgs.html +4 -4
- package/docs/interfaces/SettingsPanelConfig.html +15 -15
- package/docs/interfaces/SettingsPanelItemConfig.html +17 -17
- package/docs/interfaces/SettingsPanelPageConfig.html +13 -13
- package/docs/interfaces/SettingsPanelPageNavigatorConfig.html +17 -17
- package/docs/interfaces/SettingsPanelSelectOptionConfig.html +18 -18
- package/docs/interfaces/SettingsPanelState.html +2 -2
- package/docs/interfaces/SettingsToggleButtonConfig.html +20 -20
- package/docs/interfaces/ShadowDomConfig.html +4 -4
- package/docs/interfaces/SubtitleListBoxConfig.html +49 -0
- package/docs/interfaces/SubtitleOverlayConfig.html +33 -0
- package/docs/interfaces/SubtitleSettingSelectBoxConfig.html +16 -11
- package/docs/interfaces/SubtitleSettingsPanelPageConfig.html +13 -13
- package/docs/interfaces/TimelineMarker.html +6 -6
- package/docs/interfaces/TitleBarConfig.html +13 -13
- package/docs/interfaces/ToggleButtonConfig.html +18 -18
- package/docs/interfaces/TouchControlOverlayConfig.html +17 -17
- package/docs/interfaces/UIConditionContext.html +10 -10
- package/docs/interfaces/UIConditionResolver.html +1 -1
- package/docs/interfaces/UIConfig.html +16 -16
- package/docs/interfaces/UIContainerConfig.html +17 -17
- package/docs/interfaces/UIUtils.TreeTraversalCallback.html +1 -1
- package/docs/interfaces/UIVariant.html +2 -2
- package/docs/interfaces/ViewModeChangedEventArgs.html +2 -2
- package/docs/interfaces/Vocabularies.html +1 -1
- package/docs/interfaces/Vocabulary.html +2 -2
- package/docs/interfaces/VolumeControlButtonConfig.html +14 -14
- package/docs/interfaces/VolumeSliderConfig.html +21 -21
- package/docs/interfaces/WatermarkConfig.html +15 -15
- package/docs/interfaces/WrappedPlayer.html +2 -2
- package/docs/media/CHANGELOG.md +30 -0
- package/docs/modules.html +1 -1
- package/docs/types/CustomVocabulary.html +1 -1
- package/docs/types/ListItemComparator.html +6 -0
- package/docs/types/LocalizableText.html +1 -1
- package/docs/types/Localizer.html +1 -1
- package/docs/variables/ErrorUtils.defaultErrorMessages.html +1 -1
- package/docs/variables/ErrorUtils.defaultWebErrorMessageTranslator.html +1 -1
- package/docs/variables/StringUtils.FORMAT_HHMMSS.html +1 -1
- package/docs/variables/StringUtils.FORMAT_MMSS.html +1 -1
- package/docs/variables/i18n.html +1 -1
- package/docs/variables/version.html +1 -1
- package/package.json +2 -2
- package/src/scss/components/overlays/_subtitle-overlay-cea608.scss +7 -2
- package/src/scss/components/overlays/_subtitle-overlay.scss +21 -5
- package/src/scss/components/settings/subtitlesettings/_subtitle-overlay-settings.scss +3 -1
- package/src/ts/UIFactory.ts +2 -2
- package/src/ts/components/UIContainer.ts +4 -1
- package/src/ts/components/lists/AudioTrackListBox.ts +13 -4
- package/src/ts/components/lists/ItemSelectionList.ts +2 -7
- package/src/ts/components/lists/ListBox.ts +34 -15
- package/src/ts/components/lists/ListSelector.ts +158 -28
- package/src/ts/components/lists/SubtitleListBox.ts +16 -4
- package/src/ts/components/overlays/SubtitleOverlay.ts +36 -9
- package/src/ts/components/settings/SelectBox.ts +2 -7
- package/src/ts/components/settings/SubtitleSelectBox.ts +30 -3
- package/src/ts/main.ts +4 -3
- package/src/ts/spatialnavigation/NavigationGroup.ts +37 -3
- package/src/ts/spatialnavigation/types.ts +1 -0
- package/src/ts/utils/AudioTrackUtils.ts +34 -9
- package/src/ts/utils/SubtitleUtils.ts +35 -10
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,36 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
|
6
6
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
7
7
|
|
|
8
|
+
## [4.13.0] - 2026-05-07
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- New `SubtitleOverlayConfig.enableCea608CaptionFormatting` option (defaults to `true`) to opt out of CEA-608-specific text formatting (monospaced font, uppercase transform, character letter-spacing). CEA-608 row/column positioning is still applied.
|
|
13
|
+
- `NavigationGroup.afterNavigation` which is called after a directional navigation finishes, regardless of whether a target was found
|
|
14
|
+
|
|
15
|
+
### Fixed
|
|
16
|
+
|
|
17
|
+
- Inline `<i>`/`<em>`, `<b>`/`<strong>`, and `<u>` tags in subtitle cue text (e.g. CEA-608 italics) were rendered without their semantic styling
|
|
18
|
+
- Player APIs called after the player was already destroyed
|
|
19
|
+
|
|
20
|
+
## [4.12.0] - 2026-04-30
|
|
21
|
+
|
|
22
|
+
### Added
|
|
23
|
+
|
|
24
|
+
- `ListSelectorConfig.comparator` to customize the display order of list-backed selection UIs such as `AudioTrackSelectBox`, `SubtitleSelectBox`, `AudioTrackListBox`, and `SubtitleListBox`. For subtitle selection UIs, the built-in `Off` option remains fixed at the top.
|
|
25
|
+
Example:
|
|
26
|
+
```ts
|
|
27
|
+
const subtitleListBox = new SubtitleListBox({
|
|
28
|
+
title: i18n.getLocalizer('settings.subtitles'),
|
|
29
|
+
comparator: (a, b) => String(a.label).localeCompare(String(b.label)), // A-Z
|
|
30
|
+
});
|
|
31
|
+
```
|
|
32
|
+
> **Note**: Requires building a custom UI. The default `UIFactory` presets do not expose this option.
|
|
33
|
+
- `AudioTrackListBox` and `SubtitleListBox` now can accept config objects that extend `ListBoxConfig` without `listSelector`.
|
|
34
|
+
This enables configuring list-selector behavior such as `comparator`, `filter`, and `translator`, as well as list-box/settings-panel options like `title`, `hideDelay`, and related panel settings.
|
|
35
|
+
- `ListSelector.onItemsChanged` event that fires whenever the effective item collection changes, including item additions, removals, reordering, or updates to rendered item data such as `label` and `ariaLabel`.
|
|
36
|
+
This event should be used by consumers that rebuild the full list UI from `getItems()`, while `onItemAdded` and `onItemRemoved` remain strict membership-change events.
|
|
37
|
+
|
|
8
38
|
## [4.11.1] - 2026-04-23
|
|
9
39
|
|
|
10
40
|
### Fixed
|