How to stream music

Hi, I just got done fixing my game, which was crashing my browser because of the music file I had. Then @yaustar told me I needed to build my own mp3 audio streamer with web api.

Instead of adding a 1 hour audio loop, can you use a shorter loop? Something like a few minutes should be good.
If you really need to stream music, I can’t help, but you can look up tutorials or a JS library for streaming music.

1 Like