Skip to content

[web] Can't unmute videos in Chrome mobile (Tap events) #156444

Closed
flutter/packages
#7845

Description

@ditman

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)

Activity

  1. added
    packageflutter/packages repository. See also p: labels.
    team-webOwned by Web platform team
    platform-webWeb applications specifically
    on Oct 9, 2024
  2. added
    P2Important issues not at the top of the work list
    triaged-webTriaged by Web platform team
    on Oct 24, 2024
  3. self-assigned this
    on Oct 25, 2024
  4. github-actions commented on Nov 8, 2024

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  5. locked as resolved and limited conversation to collaborators on Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listp: video_playerThe Video Player pluginpackageflutter/packages repository. See also p: labels.platform-webWeb applications specificallyteam-webOwned by Web platform teamtriaged-webTriaged by Web platform team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions