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

Update audio.json - iOS is only partial support not a bug - volume control #6981

Merged
merged 2 commits into from
Feb 27, 2024
Merged

Update audio.json - iOS is only partial support not a bug - volume control #6981

merged 2 commits into from
Feb 27, 2024

Conversation

shalanah
Copy link
Contributor

@shalanah shalanah commented Feb 22, 2024

  • The ability to change volume in iOS programmatically using Audio Element (being read-only) isn't a bug on iOS. It's a choice to not fully implement the API.
  • Desktop Safari does support volume control
  • Double checked their native iMusic app and they allow for volume change there without having to use physical buttons.

I discovered this while adding sound effects to a site of mine and was surprised because Desktop Safari supports volume control. 

This isn't a bug in iOS. It's a partial implementation on purpose affecting the web. 

I double checked iMusic and you can change volume within their native apps.
@shalanah
Copy link
Contributor Author

shalanah commented Feb 22, 2024

This affects a lot of sites

  • Youtube sound is either on/off - really any site with video/audio players (really odd web behavior forced by iOS)
  • Volume = 0 doesn't work (must use mute)
  • And think about this site where you should be able to mix and match sounds https://www.noisli.com/ completely broken in iOS

@shalanah shalanah changed the title Update audio.json Update audio.json - iOS is only partial support not a bug Feb 22, 2024
@shalanah shalanah changed the title Update audio.json - iOS is only partial support not a bug Update audio.json - iOS is only partial support not a bug - volume control Feb 22, 2024
@Fyrd
Copy link
Owner

Fyrd commented Feb 27, 2024

Agree, this seems like a pretty serious deficiency. Thanks!

@Fyrd Fyrd merged commit d509a96 into Fyrd:main Feb 27, 2024
1 check passed
@shalanah shalanah deleted the patch-1 branch February 28, 2024 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants