diff --git a/CHANGELOG.md b/CHANGELOG.md index 702806ce6..29e2a2002 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). -## [3.52.0] +## [3.52.1] - 2023-11-13 + +### Fixed +- Crash when receiving a `SourceLoaded` event during scrubbing + +## [3.52.0] - 2023-09-25 ### Fixed - When having a spatial navigation and using a mouselike device, components will lose focus when the mouse leaves the hovered component. Spatial navigation will continue at the last active component when using arrow keys again. @@ -877,6 +882,8 @@ Version 2.0 of the UI framework is built for player 7.1. If absolutely necessary ## 1.0.0 (2017-02-03) - First release +[3.52.1]: https://github.com/bitmovin/bitmovin-player-ui/compare/v3.52.0...v3.52.1 +[3.52.0]: https://github.com/bitmovin/bitmovin-player-ui/compare/v3.51.0...v3.52.0 [3.51.0]: https://github.com/bitmovin/bitmovin-player-ui/compare/v3.50.0...v3.51.0 [3.50.0]: https://github.com/bitmovin/bitmovin-player-ui/compare/v3.49.0...v3.50.0 [3.49.0]: https://github.com/bitmovin/bitmovin-player-ui/compare/v3.48.0...v3.49.0 diff --git a/package.json b/package.json index c728aafa5..a1270bff5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bitmovin-player-ui", - "version": "3.52.0", + "version": "3.52.1", "description": "Bitmovin Player UI Framework", "main": "./dist/js/framework/main.js", "types": "./dist/js/framework/main.d.ts", diff --git a/src/ts/components/seekbar.ts b/src/ts/components/seekbar.ts index e6494691f..cf62ef002 100644 --- a/src/ts/components/seekbar.ts +++ b/src/ts/components/seekbar.ts @@ -254,7 +254,7 @@ export class SeekBar extends Component { // At the same time when the user is scrubbing, we also move the position of the seekbar to display a preview during scrubbing. // When the user is scrubbing we do not record this as a user seek operation, as the user has yet to finish their seek, // but we should not move the playback position to not create a jumping behaviour. - if (scrubbing && event.type === player.exports.PlayerEvent.SegmentRequestFinished && playbackPositionPercentage !== this.playbackPositionPercentage) { + if (scrubbing && event && event.type === player.exports.PlayerEvent.SegmentRequestFinished && playbackPositionPercentage !== this.playbackPositionPercentage) { playbackPositionPercentage = this.playbackPositionPercentage; }