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

Volumechange triggers twice the first time mute/unmute button is clicked. #917

Open
natemunk opened this issue Apr 5, 2023 · 1 comment

Comments

@natemunk
Copy link

natemunk commented Apr 5, 2023

Expected Behavior

volume change event gets triggered one time when the mute/unmute button is clicked, and the volume returned should be 0 when muted, and higher than 0 when unmuted.

Actual Behavior

The first time the button is clicked the volume change event triggers twice. After that it only triggers once. The volume returned when the video is muted returns the previous volume level, when it should be returning 0 when the video is muted.

Steps to Reproduce

I've got an example that shows the behavior, it prints to the log
https://jsbin.com/medaval/edit?html,js,console,output

@Nikolai2
Copy link

We are having the same issue, and it freezes the video on the first page load only in iOS Safari.

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

No branches or pull requests

2 participants