|
@@ -243,6 +243,7 @@ export class Sound {
|
|
(url.indexOf(".mp3", url.length - 4) !== -1 && Engine.audioEngine.isMP3supported) ||
|
|
(url.indexOf(".mp3", url.length - 4) !== -1 && Engine.audioEngine.isMP3supported) ||
|
|
(url.indexOf(".ogg", url.length - 4) !== -1 && Engine.audioEngine.isOGGsupported) ||
|
|
(url.indexOf(".ogg", url.length - 4) !== -1 && Engine.audioEngine.isOGGsupported) ||
|
|
url.indexOf(".wav", url.length - 4) !== -1 ||
|
|
url.indexOf(".wav", url.length - 4) !== -1 ||
|
|
|
|
+ url.indexOf(".m4a", url.length - 4) !== -1 ||
|
|
url.indexOf("blob:") !== -1;
|
|
url.indexOf("blob:") !== -1;
|
|
if (codecSupportedFound) {
|
|
if (codecSupportedFound) {
|
|
// Loading sound using XHR2
|
|
// Loading sound using XHR2
|