Skip to content

Commit

Permalink
fix: remove undesired event suppression
Browse files Browse the repository at this point in the history
This fixes an issue with ads not being
properly deactivated when seeked past
  • Loading branch information
martinstark committed Apr 19, 2024
1 parent 2c88fb1 commit 602c885
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/ts/InternalBitmovinYospacePlayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1229,12 +1229,6 @@ export class InternalBitmovinYospacePlayer implements BitmovinYospacePlayerAPI {
};

private performBreakSkip(seekTarget: number) {
this.suppressedEventsController.add(
this.player.exports.PlayerEvent.Paused,
this.player.exports.PlayerEvent.Seek,
this.player.exports.PlayerEvent.Seeked
);

this.player.pause();
this.unpauseAfterSeek = true;

Expand Down

0 comments on commit 602c885

Please sign in to comment.