Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can use audio sprites to work around the "Every clip needs to be prepared" issue. It's pretty ugly:

http://remysharp.com/2010/12/23/audio-sprites/

The state of audio on iOS and Android is really sad. HTML5 games would benefit so much from working audio but for now, it's completely disabled in Impact (my game engine) on those devices.



Pure awesome.

That article nicely documented the work I (and presumably everybody else trying to get Audio to work on iOS Safari) went through a couple months back. This would have saved me a lot of headache.

I like the sprite idea for playing one clip at a time in a sane way. I might give it a go.

Thanks for the tip, and it's good to see that there are other people out there battling this same stuff!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: