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(SUP-41001): Download button not available #237

Merged
merged 1 commit into from
Apr 8, 2024
Merged

Conversation

Tzipi-kaltura
Copy link
Contributor

@Tzipi-kaltura Tzipi-kaltura commented Apr 2, 2024

Description of the Changes

part of - kaltura/playkit-js-downloads#46

Resolves SUP-41001

Tzipi-kaltura added a commit to kaltura/playkit-js-downloads that referenced this pull request Apr 8, 2024
Issue:
When there is one caption on status "processing" the download button is not displayed on the player even if we have additional captions on the entry

Root cause:
There is request for BE to get all the urls for the captions, the request for the caption with status "processing" return kalturaApiException so all the request returns as error as a result the download plugin is not displayed.

Solution:
Send "false" in the doRequest as "requestsMustSucceed" so even if one of the caption is not ready the response returns with the other urls.
Since the exception result is removed from the response, the response and the request arrays is not necessarily arranged in the same indexes so set the urls according to the captionAssetId from the url.

part of the fix here - kaltura/playkit-js-providers#237

Solves SUP-41001
@Tzipi-kaltura Tzipi-kaltura merged commit bd6ff03 into master Apr 8, 2024
11 checks passed
@Tzipi-kaltura Tzipi-kaltura deleted the SUP-41001 branch April 8, 2024 10:33
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