bitmovin-player-ui
Advanced tools
Comparing version 3.74.0 to 3.75.0
@@ -7,2 +7,7 @@ # Change Log | ||
## [3.75.0] - 2024-11-19 | ||
### Fixed | ||
- Potential performance impact caused by forced layout reflows | ||
## [3.74.0] - 2024-10-24 | ||
@@ -1017,2 +1022,3 @@ | ||
[3.75.0]: https://github.com/bitmovin/bitmovin-player-ui/compare/v3.74.0...v3.75.0 | ||
[3.74.0]: https://github.com/bitmovin/bitmovin-player-ui/compare/v3.73.0...v3.74.0 | ||
@@ -1019,0 +1025,0 @@ [3.73.0]: https://github.com/bitmovin/bitmovin-player-ui/compare/v3.72.0...v3.73.0 |
@@ -173,5 +173,12 @@ "use strict"; | ||
_this.isUiShown = true; | ||
if (!player.isLive() && !_this.smoothPlaybackPositionUpdater.isActive()) { | ||
playbackPositionHandler(null, true); | ||
_this.smoothPlaybackPositionUpdater.start(); | ||
} | ||
}); | ||
uimanager.onControlsHide.subscribe(function () { | ||
_this.isUiShown = false; | ||
if (_this.smoothPlaybackPositionUpdater.isActive()) { | ||
_this.smoothPlaybackPositionUpdater.clear(); | ||
} | ||
}); | ||
@@ -244,9 +251,8 @@ var isPlaying = false; | ||
}; | ||
var onPlayerSeeked = function (event, forceUpdate) { | ||
var onPlayerSeeked = function (event) { | ||
if (event === void 0) { event = null; } | ||
if (forceUpdate === void 0) { forceUpdate = false; } | ||
isPlayerSeeking = false; | ||
_this.setSeeking(false); | ||
// update playback position when a seek has finished | ||
playbackPositionHandler(event, forceUpdate); | ||
playbackPositionHandler(event, true); | ||
}; | ||
@@ -253,0 +259,0 @@ var restorePlayingState = function () { |
@@ -19,3 +19,3 @@ "use strict"; | ||
exports.ListSelector = exports.QuickSeekButton = exports.ReplayButton = exports.SettingsPanelItem = exports.SubtitleSettingsPanelPage = exports.SettingsPanelPageOpenButton = exports.SettingsPanelPageBackButton = exports.SettingsPanelPage = exports.AudioTrackListBox = exports.SubtitleListBox = exports.ListBox = exports.SubtitleSettingsResetButton = exports.WindowOpacitySelectBox = exports.WindowColorSelectBox = exports.SubtitleSettingsLabel = exports.SubtitleSettingSelectBox = exports.FontSizeSelectBox = exports.FontOpacitySelectBox = exports.FontFamilySelectBox = exports.FontColorSelectBox = exports.CharacterEdgeSelectBox = exports.BackgroundOpacitySelectBox = exports.BackgroundColorSelectBox = exports.Spacer = exports.PictureInPictureToggleButton = exports.VolumeSlider = exports.AirPlayToggleButton = exports.MetadataLabelContent = exports.MetadataLabel = exports.CloseButton = exports.PlaybackToggleOverlay = exports.CastUIContainer = exports.BufferingOverlay = exports.HugeReplayButton = exports.PlaybackSpeedSelectBox = exports.AdClickOverlay = exports.AdMessageLabel = exports.AdSkipButton = void 0; | ||
exports.version = '3.74.0'; | ||
exports.version = '3.75.0'; | ||
// Management | ||
@@ -22,0 +22,0 @@ __exportStar(require("./uimanager"), exports); |
{ | ||
"name": "bitmovin-player-ui", | ||
"version": "3.74.0", | ||
"version": "3.75.0", | ||
"description": "Bitmovin Player UI Framework", | ||
@@ -5,0 +5,0 @@ "main": "./dist/js/framework/main.js", |
@@ -245,2 +245,6 @@ import { ExtendedPlayerAPI, GroupPlaybackSuspension, GroupPlaybackSuspensionReason } from './../groupplaybackapi'; | ||
this.isUiShown = true; | ||
if (!player.isLive() && !this.smoothPlaybackPositionUpdater.isActive()) { | ||
playbackPositionHandler(null, true); | ||
this.smoothPlaybackPositionUpdater.start(); | ||
} | ||
}); | ||
@@ -250,2 +254,5 @@ | ||
this.isUiShown = false; | ||
if (this.smoothPlaybackPositionUpdater.isActive()) { | ||
this.smoothPlaybackPositionUpdater.clear(); | ||
} | ||
}); | ||
@@ -328,3 +335,3 @@ | ||
let onPlayerSeeked = (event: PlayerEventBase = null, forceUpdate: boolean = false ) => { | ||
let onPlayerSeeked = (event: PlayerEventBase = null) => { | ||
isPlayerSeeking = false; | ||
@@ -334,3 +341,3 @@ this.setSeeking(false); | ||
// update playback position when a seek has finished | ||
playbackPositionHandler(event, forceUpdate); | ||
playbackPositionHandler(event, true); | ||
}; | ||
@@ -337,0 +344,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6216515
61712