goldfire / howler.js

Javascript audio library for the modern web.
https://howlerjs.com
MIT License
23.87k stars 2.23k forks source link

HowlerJS not working on Edge. #1304

Closed alucardu closed 3 years ago

alucardu commented 4 years ago

I'm trying to get HowlerJS play a sound file on Microsoft Edge but it doesn't seem to work.

Microsoft Edge version: Microsoft Edge 44.18362.449.0 Microsoft EdgeHTML 18.18363

HowerJS version: https://github.com/goldfire/howler.js/blob/master/dist/howler.js

My script:

    HowerJs
    <script src="Scripts/Javascript/howerljs/howler.js"></script>
    <div onclick="play()">Click</div>
    <script>
        var sound = new Howl({
            src: ['Scripts/Javascript/howerljs/file_example_OOG_1MG.ogg']
        });
        function play() {
            console.log('play', sound);
            sound.play();
        }
    </script>

The log in Chrome: image

The log in Edge: image

HowlerJS demo's are also not working on Edge: image

davidholyko commented 4 years ago

I'm having the same issue! Has any progress been done with this?

FlyersWeb commented 4 years ago

Demo does work on Edge. Maybe your file format is not supported on Windows ?

goldfire commented 3 years ago

I'm still unable to replicate this, but I'll reopen if you are still having this issue.