-
Notifications
You must be signed in to change notification settings - Fork 14
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 problem with video isMuted #43
base: main
Are you sure you want to change the base?
fix problem with video isMuted #43
Conversation
} | ||
videoRef.current.play().catch(() => { | ||
|
||
videoRef.current.play().then(() => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will it not cause a play pause glitch ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, these changes fix a problem with this issue on the top
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the original code happens next error
DOMException: The play() request was interrupted because video-only background media was paused to save power
@Sasha-Zayets can u please rebase this branch |
the issue created seems to be different than this change. |
These changes will fix a problem when changing the story needs the correct mute or not video |
@Sasha-Zayets please rebase this branch with master. i will merge it |
Fix this issue #41