| Summary: | Volume of an Audio object cannot be changed when AudioContext is created | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | aerdogan07 |
| Component: | Web Audio | Assignee: | Nobody <webkit-unassigned> |
| Status: | REOPENED --- | ||
| Severity: | Major | CC: | cdumez, eric.carlson, jer.noble, juraj.masiar, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 15 | ||
| Hardware: | Mac (Apple Silicon) | ||
| OS: | macOS 12 | ||
|
Description
aerdogan07
2022-09-01 07:36:19 PDT
A user gesture is required to change volume. Your code should should work if you move the part that changes volume inside of the `click` event handler The volume is changed within the click event handler. It also works when there is no AudioContext. The same code also works with all other major browsers (Firefox, Chrome etc.) Therefore, I will reopen the ticket. |