jpdb-io / issue-tracker

9 stars 0 forks source link

Audio of word being reviewed sometimes fails to play #367

Open rymiel opened 7 months ago

rymiel commented 7 months ago

This should not be related to autoplay restrictions, autoplay is allowed for jpdb.

This only happens occasionally, I haven't yet pinned down when exactly, but sometimes the word audio fails to play. When this happens, the sentence audio fails to play as well.

Error in console:

HTTP “Content-Type” of “” is not supported. Load of media resource blob:https://jpdb.io/51f84d8d-904c-4f95-a5f1-9165da3044e5 failed.
All candidate resources failed to load. Media load paused.

The browser provides no traceback. The linked blob changes, of course, but visiting it, it contains an HTML 404 file, instead of an audio file. There is a 404 with a traceback in preload_audio, but it there's a 404 there even when audio works, so I'm unsure if that's actually related, here's one:

curl 'https://jpdb.io/static/v/f2/c12f72f2a160' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/119.0' -H 'Accept: */*' -H 'Referer: https://jpdb.io/review' -H "X-Access: please don't steal these files"

I will not reject the possibility of a browser issue. I'm running Firefox 119.0a1 (2023-09-22)