Bug 234152

Summary: No audio on https://woe-industries.itch.io/chris-pratt-is-mario
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Web AudioAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: cdumez, jer.noble, simon.fraser, webkit-bug-importer, youennf
Priority: P2 Keywords: BrowserCompat, InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

Description Simon Fraser (smfr) 2021-12-10 08:48:30 PST
Load https://woe-industries.itch.io/chris-pratt-is-mario and follow the instructions to click before playing (to get past the user action requirement). You still get no audio.

This works fine in Chrome and Firefox. The website has bad worse about Safari because of this bug.
Comment 1 Simon Fraser (smfr) 2021-12-10 08:50:13 PST
^ has bad words.

Also: https://twitter.com/tomayac/status/1468907811002269696
Comment 2 Jer Noble 2021-12-10 08:52:21 PST
When in this not-playing-audio state, the AudioContext.state is "interrupted". WebKit will interrupt an audio context when it becomes not visible (background tab, minimized window, etc), but there may be a bug where we're triggering this interrupted state in other situations.
Comment 3 Radar WebKit Bug Importer 2021-12-17 08:49:16 PST