howler.js icon indicating copy to clipboard operation
howler.js copied to clipboard

Html5 audios not loading on Firefox without preload

Open nackd opened this issue 3 years ago • 1 comments

https://jsfiddle.net/L2qvws9e/

With preload disabled, html5 audios are kept forever with status 'loading' on Firefox, so they are never able to play. They work fine in other browsers and I believe this also used to work with older Firefox versions.

Once the audio file is in the browser's cache it will play, so clear cache first if you might have the file I used from Howler.js examples in the cache.

The problem is that Firefox is not firing the 'canplaythrough' event. Using 'canplay' instead works fine.

nackd avatar Jul 13 '21 15:07 nackd

Seeing the same. Setting preload: false or html5: false works just fine but not with both true. Firefox v. 91.0.1 64bit on Windows.

clexmond avatar Aug 24 '21 13:08 clexmond