Access to XMLHttpRequest at "./sounds/sound.mp3" from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
I am making a project where I want to make a game, but nothing major is a canvas element. (all moving IMG tags and divs)
OTHER SOLUTIONS DO NOT WORK. I am using howler.js to play a sound clip and I get this, however sometimes tone.js DOES work. I don't know how to fix this because I need non-tech savvy people to use this file, so chrome settings are off limits for me. Also, I can't use localhost or web servers. Does anyone know how to fix this?