Sounds for my javascript game with pure js?

Can I play sound in my javascript game without using anything like flash or HTML crawl?

When I searched google, it gave me various plugins or ways to do it with flash, but I would like to do it with pure js, while being able to play many sounds in parallel.

+5
source share
1 answer

The HTML5 element <audio>has pretty decent support , and the audio API (which allows advanced audio manipulation) is slightly behind.

There's even a tutorial on how to use it in a JS game .

+6
source

All Articles