Closed joonaspaakko closed 3 years ago
Turns out I'm just a panicking idiot. Didn't do enough thinking and I've now realized that I have a Chrome extension called Disable HTML5 autoplay
, that not only disabled auto play in this case but also fully blocked playback.
Should've done better testing in incognito from the start...
I made a test case: https://codepen.io/joonaspaakko/pen/rNWQKpX
When you click
play
, console log printsplaying()
,seek()
, andduration()
every secondI don't know if there's a better test to be made, but what it prints out when I run it in chrome is this:
seek()
never changes and there's no audioOn Firefox
seek()
is changing and I'm getting audioIn my tests it works in:
Firefox
andSafari
(not in Chrome)Firefox
,Chrome
andSafari
The radio example: https://howlerjs.com/#radio suffers from the same issue on Chrome (as far as I can tell)
I thought maybe it has something to do with
strict-origin-when-cross-origin
, but I'm just throwing wild guessesUpdate: I tested this on a different computer with the same chrome version _Version 89.0.4389.82 (Official Build) (x8664) and my test audio works on this computer just fine... Strangely enough howler's radio example is still not outputting any sound.