You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I would like to add a mute(d) button, which should tigger even when not playing a video.
Describe the solution you'd like
Add a volume change event.
Describe alternatives you've considered
Using video element events, but this adds complexity and makes things more difficult than needed.
We are exposing a setVolume method in Mediaplayer.js. This method can be called directly by the app. Consequently the app is aware when the volume changes as the previously mentioned method should be used. What would be the reason to add an event for that?
@dsilhavy I'm using custom controls, which need listeners to update the state. This is really helpful, as I can now listen on buffer, can*, playback, stream, text, track, etc.
If it were part of playback/stream, one can listen and simple update the state:
Is your feature request related to a problem? Please describe.
I would like to add a mute(d) button, which should tigger even when not playing a video.
Describe the solution you'd like
Add a volume change event.
Describe alternatives you've considered
Using video element events, but this adds complexity and makes things more difficult than needed.
Additional context
#2496
Thanks!
The text was updated successfully, but these errors were encountered: