Ogg default
This commit is contained in:
parent
6d5c2491c2
commit
98e69afa72
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue