Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(FEC-13650): Player v7 | CTA | CTA doesn't show when seeking backwards for the second CTA. #14

Merged
merged 3 commits into from
Jan 24, 2024

Conversation

SivanA-Kaltura
Copy link
Collaborator

@SivanA-Kaltura SivanA-Kaltura commented Jan 22, 2024

Description of the Changes

Because activeMessage variable was not cleared correctly, when having two messages, one with timeFromEnd, it was possible to get to a situation where a message wasn't shown twice after seek even though it should be, because of the condition in time update event handler

The fix is to clear activeMessage when hiding a message, and wait for video duration to be set before sorting messages (otherwise timeFromEnd messages would be incorrectly sorted)

Also added fixes for messages not being hidden when showing a new message, and sometimes showing with an incorrect text

Resolves FEC-13650, FEC-13660

CheckLists

  • changes have been done against master branch, and PR does not conflict
  • new unit / functional tests have been added (whenever applicable)
  • test are passing in local environment
  • Travis tests are passing (or test results are not worse than on master branch :))
  • Docs have been updated

@SivanA-Kaltura SivanA-Kaltura changed the title Fec 13650 fix(FEC-13650): Player v7 | CTA | CTA doesn't show when seeking backwards for the second CTA. Jan 22, 2024
@SivanA-Kaltura SivanA-Kaltura merged commit d8fa6ee into master Jan 24, 2024
@SivanA-Kaltura SivanA-Kaltura deleted the FEC-13650 branch January 24, 2024 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants