Some browsers, mainly Chrome, do not allow audio to autoplay on startup, and they require some user interaction before they'll let audio play. Have the user click to start the game (or something like that), start the audio at that point instead, and then it should work.
Twine doesn't have that same feature, which is why it works in Twine but not in Chrome.
Hope that helps! :-)