Skip to content

Mux app: Fix render error while creating/removing captions #9860

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

R-Delfino95
Copy link

@R-Delfino95 R-Delfino95 commented May 26, 2025

Purpose

Fixes #7808
This PR fixes a re-render error that occurs when a captions is being added/removed.

Approach

Currently, the plugin triggers a full re-render of the player, which causes issues with the Mux Player library and leads to CORS errors.
The approach taken in this PR is to reload the player's manifest with the updated captions, without requiring a full re-render.

Recording

video.mp4

Testing steps

Create a content model with the Mux JSON Object. Then, create a new entry for that content type, and you’ll be able to test uploading assets.
After uploading an Asset, create a caption using the form in the field. Also test removing a caption.
The player should reload without errors.

Breaking Changes

None.

Dependencies and/or References

None.

Deployment

None.

@R-Delfino95 R-Delfino95 requested a review from a team as a code owner May 26, 2025 20:12
Copy link

netlify bot commented May 26, 2025

👷 Deploy request for ecommerce-app-base-components pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 809856c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mux editor disappears when removing captions
2 participants