Skip to content

Audio + Video API volume control #712

Closed

Description

@shalanah

Description

All browsers should allow for volume control from 0.0-1.0 for Audio + Video APIs.

iOS/iPadOS WebKit does not allow for volume control (it is "read-only").

Use cases:

  • Sound effects (varying % or just want at less than 100% without having to re-export sound)
  • Background sounds that you want at less than 100% for ambiance
  • Volume controls around video/audio elements

Special care needs to be added for iOS/iPadOS only to turn volume off via mute since setting volume to zero doesn't work.

The explanation that has been given, is that Apple thinks the user should always be in control of volume via physical buttons for iPhones and iPads - this doesn't change that. It is a % (less) than the current set device volume.

Apple also has no issue with its own native apps like Apple Music allowing the user UI to change volume.

Specification

WHATWG

Additional Signals

Is there any possibility to control HTML5 audio volume on IOS
HTML5 Video Volume

Activity

  1. changed the title [-]Audio + Video elements volume levels[/-] [+]Audio + Video API + elements volume levels[/+] on Sep 17, 2024
  2. changed the title [-]Audio + Video API + elements volume levels[/-] [+]Audio and Video (APIs and elements) volume levels[/+] on Sep 17, 2024
  3. changed the title [-]Audio and Video (APIs and elements) volume levels[/-] [+]Audio API + Video API volume levels[/+] on Sep 18, 2024
  4. changed the title [-]Audio API + Video API volume levels[/-] [+]Audio API + Video API volume control[/+] on Sep 18, 2024
  5. changed the title [-]Audio API + Video API volume control[/-] [+]Audio + Video API volume control[/+] on Sep 19, 2024
  6. wpt-interop commented on Feb 13, 2025

    @wpt-interop
    Collaborator

    Thank you for proposing Audio + Video API volume control for inclusion in Interop 2025.

    We wanted to let you know that this proposal was not selected to be part of Interop this year.

    On behalf of the entire Interop team, thank you for submitting this proposal for consideration. We got many more proposals than we could include in this year's project, necessitating some difficult choices. Please note this should not be taken as a comment on the technology as a whole, or our willingness to consider it for Interop in the future. We appreciate the work you put into your proposal, and would welcome your participation in future rounds of Interop.

    For an overview of our process, see proposal selection. Thank you again for contributing to Interop 2025.

    Posted on behalf of the Interop team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    focus-area-proposal

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions