Open
Description
In my renderer
I'm trying to load an audio file placed in static/audio/sound.mp3
, but it gives me file 404 not found.
const mp3 = path.join(__static, "/audio/sound.mp3");
const audio = new Audio(mp3);
audio.play();
following the docs i used the __static
variable but it's still not working.
I also tried with images and it still not working.
Metadata
Metadata
Assignees
Labels
No labels