MP3 support
hermes

I've been using wade for a week or so, and I'm really pleased so far. But I think it's unacceptable that there is no support for MP3 audio, you should add it as soon as possible!

All 2 Comments
Gio

Hi hermes and thanks for your suggestion

 
However MP3 audio is not supported for a reason: it is a proprietary format, and it is NOT free to use. If you use MP3's in a commercial game (or any product really), you have to pay for a license. And it isn't cheap... quite the opposite in fact.
 
OGG and AAC are two very valid alternatives. Importantly, they're free. It only takes a few seconds to convert your MP3's to one of these formats that are supported by WADE.
 
I would recommend reading this blog post for more information on this subject:
https://www.scirra.com/blog/64/why-you-shouldnt-use-mp3-in-your-html5-games
Elliot

While I agree with Gio re not using mp3s, wade is not stopping you from using the standard html5 objects... so if you really want to use mp3s, it's not that hard:

var music = new Audio('music.mp3');music.play()

Just be aware that you need a license, and it won't work on browsers that don't support mp3 audio.

Post a reply
Add Attachment
Submit Reply
Login to Reply