howler.js
howler.js copied to clipboard
Html5 audios not loading on Firefox without preload
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.
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.