Hacker News new | past | comments | ask | show | jobs | submit login

Yup, that's totally correct and sadly not much has changed since that blogpost. I still have several bugs filed on HTML5 Audio on chrome that have received no attention, that cause problems in BananaBread,

https://developer.mozilla.org/en-US/demos/detail/bananabread

I suppose their assumption is that everyone should use Web Audio and forget about HTML5 Audio? It's sad though because Web Audio is total overkill for many things.




I didn't have played with WebAudio yet, but I assume that the main problem of HTML5 <audio/> is that the controls cannot be customized to fit the stylesheet. Using WebAudio probably allows to use custom html structure.

So the main question is : when will we have a standard shadow dom styling ? :(


You can do any customization with <audio/> that you can with Web Audio. The element doesn't have to be in the DOM to play audio.

It's actually harder to provide custom UI for the Web Audio API since seeking and general stream navigation are a complete afterthought and their API makes them a pain.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: