Getting Audio to work on iOS


#1

Hi!

I’m trying to get audio in my VR world to work on iOS, but there are browser restrictions.

Does anyone know how to work with howler.js on Glitch? (Write a path to it, etc.)

Even better, does anyone have an exact, step-by-step instruction for making this work?

Thanks,
Ben


#2

Hi Ben,

I made this quick project by taking the howler.js examples and sticking them up on Glitch, using the assets folder to store the sounds and textures. Because I’m just using howler as a library and not making any modifications, I just pull it in from a CDN link in each of my index.html files. More details in the various readmes :slight_smile:

There are some cool pieces in howler, and I’ll have to find some time to play with it some more!

Hope that helps