emscripten-core / emscripten-core/emscripten

Automatic resumption of AudioContext doesn't work well on Safari

Open
#15,274 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

I apologize for the lack of details, I don't own any Apple devices personally.

A user observed sound not playing back in Safari. It failed both on https://archive.org/details/win3_MidMM211 and on my project, which uses autoResumeAudioContext alongside custom Web Audio code.

When I added buttons to my project instead of telling people to click on an empty page, it started working. I did not explicitly add a resume to the buttons.

So I'm guessing that autoResumeAudioContext on Safari works for buttons but not other elements like canvases.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.