Is it possible to play a sound in my javascript game without using anything like flash or a HTML workaround?
When I searched google it gave me various plugins or ways of doing it with flash, but I'd like to do it with pure js, while being able to play many sounds parallel.
The HTML5 <audio>
element has fairly decent support, and there's also an audio API (which allows advanced audio manipulation) lagging somewhat behind.
There's even a tutorial on using it in a JS game.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With