Skip to content

Commit

Permalink
Do no clear subtitle label component on SubtitleEnabled event
Browse files Browse the repository at this point in the history
  • Loading branch information
mukulmishra18 committed May 3, 2024
1 parent ec53bf5 commit 9a81356
Showing 1 changed file with 0 additions and 1 deletion.
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 9a81356

Please sign in to comment.