4 ms·
All these new features, but HTML5 audio is still utterly busted on iOS Safari[0]. So much so that my music player PWA is essentially unusable on iOS Safari. Bu
by judah 9y ago
All these new features, but HTML5 audio is still utterly busted on iOS Safari[0]. So much so that my music player PWA is essentially unusable on iOS Safari.
Bug filed here[1], simple repro here[2].
I appreciate that service worker is here. I appreciate that they are making progress on PWA support. It's good to see. But there are some longstanding HTML5 issues in the browser that need to be fixed. Would really appreciate some Apple devs solving it; the fix is conceptually simple: fire HTML5 audio .ended event when audio finishes playing, even if the screen is off or app is in the background.
[0]: http://debuggerdotbreak.judahgabriel.com/2016/12/13/its-almost-2017-and-html5-audio-is-still-broken-on-ios/ http://debuggerdotbreak.judahgabriel.com/2016/12/13/its-almo...
[1]: https://bugs.webkit.org/show_bug.cgi?id=173332 https://bugs.webkit.org/show_bug.cgi?id=173332
[2]: https://bitshuvafiles01.com/iOSAudioBugRepro/audioError.html https://bitshuvafiles01.com/iOSAudioBugRepro/audioError.html
- nfriedly 9y agoAgreed. Making microphone input work in iOS Safari was a nightmare. The AudioContext has to be started in response to a tap, but the tap on the permissions dialog to grant microphone access doesn't count. And, it still doesn't work on iPod Touch, because for some reason Safari there claims it doesn't have a microphone. (It does.)
- eridius 9y agoI can't resolve the domain debuggerdotbreak.judahgabriel.com