Cedric Guillemet 4 lat temu
rodzic
commit
09cdcd0e79
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/Audio/audioEngine.ts

+ 1 - 1
src/Audio/audioEngine.ts

@@ -103,7 +103,7 @@ export class AudioEngine implements IAudioEngine {
         this._hostElement = hostElement;
 
         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$/, ''))) {
                 this.isMP3supported = true;
             }