I'm working on a small reactTS project where I want to play some sounds with Howler. When trying to load the files (I've tried woth both .mp3 and .webm), they will not load. (Yes, my assets folder, where the audio files recide is in the public folder)
Here is the function for creating a sound, which takes in the path for the files, and is called with a map function.
SoundPlay = (mp3:string, webm:string) => {
let sound = new Howl({
src: [webm,mp3]
});
sound.play();
}