Apple’s new iOS 9 apparently has broken web audio in some situations. Audio no longer plays on Soundslice in iOS 9 Safari, and I’ve seen one other report of this. I’m trying to figure out a solution; let this blog post and comments serve as a repository for fixes/experiments/knowledge.
I suspect Apple has tightened its draconian “Audio can’t be played unless it’s directly initiated by a user interaction” algorithm somehow, but I’m not sure how. If you have any ideas or fixes, please post a comment here, and I will update this post accordingly.
UPDATE, Sept. 19: There’s a workaround! Use
mousedown instead of
touchstart to initiate audio playback. See comments below.