Skip to content

Commit

Permalink
fix(FEC-13578): [Click 2 Action] | CTA Doesn't behave as expected whe…
Browse files Browse the repository at this point in the history
…n seeking.
  • Loading branch information
SivanA-Kaltura authored Dec 19, 2023
2 parents ecbd806 + 41b50d3 commit 4787641
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/call-to-action.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ class CallToAction extends BasePlugin<CallToActionConfig> {
// @ts-ignore
const currentTime = this.player.currentTime;

this.hideActiveMessage();
if (this.activeMessage) {
this.callToActionManager.removeMessage();
this.activeMessageEndTime = -1;
}

for (const message of this.messages) {
if (message.timing.redisplayMessage || !message.wasDismissed) {
Expand Down

0 comments on commit 4787641

Please sign in to comment.