Skip to content

Commit

Permalink
Merge pull request #621 from bitmovin/feature/fix-no-subtitle-on-swit…
Browse files Browse the repository at this point in the history
…ching-tracks
  • Loading branch information
felix-hoc authored May 6, 2024
2 parents ec53bf5 + 5fcf677 commit f9d1ca5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ 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/).

## [Unreleased]

### Fixed
- No subtitle is shown when switching between different tracks

## [3.61.0] - 2024-04-23

### Fixed
Expand Down
1 change: 0 additions & 1 deletion src/ts/components/subtitleoverlay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ export class SubtitleOverlay extends Container<ContainerConfig> {
};

player.on(player.exports.PlayerEvent.AudioChanged, subtitleClearHandler);
player.on(player.exports.PlayerEvent.SubtitleEnabled, subtitleClearHandler);
player.on(player.exports.PlayerEvent.SubtitleDisabled, subtitleClearHandler);
player.on(player.exports.PlayerEvent.Seeked, clearInactiveCues);
player.on(player.exports.PlayerEvent.TimeShifted, clearInactiveCues);
Expand Down

0 comments on commit f9d1ca5

Please sign in to comment.