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

Audio + Video API volume control #712

Open
shalanah opened this issue Sep 17, 2024 · 0 comments
Open

Audio + Video API volume control #712

shalanah opened this issue Sep 17, 2024 · 0 comments
Labels
focus-area-proposal Focus Area Proposal

Comments

@shalanah
Copy link

shalanah commented Sep 17, 2024

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

@shalanah shalanah added the focus-area-proposal Focus Area Proposal label Sep 17, 2024
@shalanah shalanah changed the title Audio + Video elements volume levels Audio + Video API + elements volume levels Sep 17, 2024
@shalanah shalanah changed the title Audio + Video API + elements volume levels Audio and Video (APIs and elements) volume levels Sep 17, 2024
@shalanah shalanah changed the title Audio and Video (APIs and elements) volume levels Audio API + Video API volume levels Sep 18, 2024
@shalanah shalanah changed the title Audio API + Video API volume levels Audio API + Video API volume control Sep 18, 2024
@shalanah shalanah changed the title Audio API + Video API volume control Audio + Video API volume control Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
focus-area-proposal Focus Area Proposal
Projects
Status: No status
Development

No branches or pull requests

1 participant