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

Display Video.js errors instead letting the player crash #612

Merged
merged 3 commits into from
Aug 19, 2024

Conversation

Dananji
Copy link
Collaborator

@Dananji Dananji commented Aug 2, 2024

Related issue: #434

Before:
Screenshot 2024-08-02 at 4 50 52 PM

After:
Screenshot 2024-08-02 at 5 07 53 PM

The error displays on a dismiss-able modal, without breaking the player. Once the modal is closed the user is able to select a different source from the quality selector menu.

Copy link
Member

@cjcolvar cjcolvar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!
I had a couple suggestions of wording changes. Feel free to use them or not.

src/components/MediaPlayer/VideoJS/VideoJSPlayer.js Outdated Show resolved Hide resolved
src/components/MediaPlayer/VideoJS/VideoJSPlayer.js Outdated Show resolved Hide resolved
@Dananji Dananji merged commit 39d2643 into main Aug 19, 2024
2 checks passed
@Dananji Dananji deleted the error-display-434 branch August 19, 2024 18:04
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.

2 participants