Ogg default

This commit is contained in:
Thomas FORGIONE 2015-05-12 14:43:27 +02:00
parent 6d5c2491c2
commit 98e69afa72
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ var Coin = function(x,y,z) {
}
var _toto = new Audio();
Coin.extension = _toto.canPlayType("audio.mpeg") === "" ? ".mp3" : ".ogg";
Coin.extension = _toto.canPlayType("audio/x-vorbis") === "" ? ".ogg" : ".mp3";
Coin.prototype.init = function(x,y,z) {
if (Coin.BASIC_MESH !== null) {