[Webkit-unassigned] [Bug 260412] New: Playing audio from a `MediaElementAudioSourceNode` silently fails in the iOS 17 Beta
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Aug 18 15:23:56 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=260412
Bug ID: 260412
Summary: Playing audio from a `MediaElementAudioSourceNode`
silently fails in the iOS 17 Beta
Product: WebKit
Version: Safari 17
Hardware: iPhone / iPad
OS: Other
Status: NEW
Severity: Normal
Priority: P2
Component: Web Audio
Assignee: webkit-unassigned at lists.webkit.org
Reporter: jordan at jordaneldredge.com
CC: cdumez at apple.com
## Repro
Open the repro link (below) and click “Play”.
**Expected:** An audio sample plays (this happens on iOS 16)
**Actual:** No audio plays (this happens on iOS 17 Beta)
- Repro: [https://captbaritone.github.io/safari-17-element-source-bug/](https://captbaritone.github.io/safari-17-element-source-bug/)
- Repro code: [https://github.com/captbaritone/safari-17-element-source-bug](https://github.com/captbaritone/safari-17-element-source-bug)
### Impact
- This issue was discovered when [webamp.org](http://webamp.org) broke ([issue](https://github.com/captbaritone/webamp/issues/1223))
- The Webamp audio player is also used as an [optional audio player](https://blog.archive.org/2018/10/02/dont-click-on-the-llama/) on the Internet Archive [archive.org](https://archive.org), and the bug manifests there as well
- I’ve also discovered a few other project which worked on Safari 16, but seems to be broken on iOS by this beta release:
- [https://visicality.derekwolpert.com](https://visicality.derekwolpert.com/) It also uses `MediaElementAudioSourceNode` ([source](https://github.com/derekwolpert/Visicality/blob/25518a682bbbfd55d9abd74fae38f6fce8e158e6/src/index.js#L217))
- [https://saturn.fm](https://saturn.fm) (sound effects still work, but music does not play)
## Observations
- The issue reproduces on iOS 17.0 (21a5312c)
- The issue does *not* reproduce on iOS 16.3 (20D47)
- The issue does *not* reproduce on Safari 17 on MacOS. Tested on version 17.0 (18616.1.27.101.1, 18616)
- [Some projects](https://github.com/mrdoob/three.js/commit/1c07c8a9868f85f99fb098c82da946e7a7945d07) seem to avoid using `MediaElementAudioSourceNode` on iOS devices, going back to at least May 2020
- There have been a few previous WebKit bugs that look similar: [Bug 211394](https://bugs.webkit.org/show_bug.cgi?id=211394) and [Bug 203435](https://bugs.webkit.org/show_bug.cgi?id=203435)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230818/d3b9e3b6/attachment.htm>
More information about the webkit-unassigned
mailing list