|
@@ -103,7 +103,7 @@ export class AudioEngine implements IAudioEngine {
|
|
this._hostElement = hostElement;
|
|
this._hostElement = hostElement;
|
|
|
|
|
|
try {
|
|
try {
|
|
- if (audioElem && !!audioElem.canPlayType && (audioElem.canPlayType('audio/mpeg; codecs="mp3"').replace(/^no$/, '') ||
|
|
|
|
|
|
+ if (audioElem && !!audioElem.canPlayType && (audioElem.canPlayType('audio/mpeg; codecs="mp3"').replace(/^no$/, '') ||
|
|
audioElem.canPlayType('audio/mp3').replace(/^no$/, ''))) {
|
|
audioElem.canPlayType('audio/mp3').replace(/^no$/, ''))) {
|
|
this.isMP3supported = true;
|
|
this.isMP3supported = true;
|
|
}
|
|
}
|