Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I want to play .mp3 sound files in a game I built with Crafty.js. Is this possible without converting the sound file?

share|improve this question

1 Answer 1

This really depends on the browser you're using (not all support mp3). I'd recomend using mp4 audio. This should soon be supported by all popular browsers out of the box (actually I think even the Firefox stable supports it by now; that would mean all of them).

share|improve this answer
    
I didn't notice that. I'll test the game in Google Chrome. –  gnerkus May 24 '13 at 16:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.