-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Description
In Chrome with Tap Emulation mode (possibly on mobile too), setting a video to volume=0.0 causes that it can't be un-muted by clicking on the "mute" icon, similarly to how a video that is just muted works, because the volume slider is not shown on hover (only long-press).
Flutter sets volume=0.0 AND muted (code), making it hard for the video to be unmuted in Chrome.
2024-09-22.05.09.31.mov
See reproduction: https://jsfiddle.net/ditman/kmjdp19x/ (enable Touch emulation mode)
To fix this, Flutter could not set the volume of the video when setting the muted attribute. That way, the video would have a non-zero volume, and tapping the "unmute" icon would work more as expected.
Originally reported by @KyoShio in #60721 (comment)