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-11431): no preview thumbnails shown when casting on chromecast - regression #472

Merged
merged 4 commits into from
Jul 26, 2021

Conversation

RoyBregman
Copy link
Contributor

Description of the Changes

When casting the player doesn't have the playing video to get the height and width.
The solution is to keep the video height and width before the cast and use it as fallback.

Also found another bug - same issue with duration - caused the preview image to be stuck on first frame.
Solved same.

Solves FEC-11431

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

yairans
yairans previously approved these changes Jul 26, 2021
@RoyBregman RoyBregman merged commit 830f828 into master Jul 26, 2021
@RoyBregman RoyBregman deleted the FEC-11431-preview-in-cast branch July 26, 2021 14:02
RoyBregman added a commit that referenced this pull request Jul 27, 2021
…height (#473)

Following #466, #471, #472 - code was refactored so image thumb height is taken from real image sprite. This overrides all issues regarding height miscalculations and the need for videoHeight (which is missing when casting)
In addition kaltura player was passed to ThumbsManager instead of core player to fix preview image when casting as the duration when casting needs to come from cast player and not the core one.
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