I figured out how to solve it. Go to project properties. Put "NO" in preload sounds. Load them later Songs have to be in m4a extension, too. I think it's because Safari doesn't like html5 websites with the "autoplay feature".
Develop games in your browser. Powerful, performant & highly capable.