Hi,

Thanks for the feedback! I was surprised nobody else hit this and the 
reason is - you'll be pleased to hear - it was an idiot user problem :-)

After reading this 
https://stackoverflow.com/questions/11713114/audio-onerror-arguments the 
error.currentTarget.error.code was 4, which apparently means 
MEDIA_ERR_SRC_NOT_SUPPORTED. It used to be supported, so I wondered if it 
was an addon-specific thing - sure enough, using a clean profile solved the 
issue. It seems NoScript got far stricter recently - despite permitting 
javascript from localhost, it prevents localhost from running media (with 
no way to enable it apparently).

Incidentally when I tested 24.3 I did so with a clean profile. Face palm.

I guess we could add the error code in that log call? As the SO post says, 
with audio-onerror it is not easy to know what the event supports. Anyway, 
documenting this here might help someone else who is as silly in the 
future. D'oh.

Regards,
Richard


On Sunday, February 16, 2014 6:45:57 PM UTC+1, jj wrote:
>
> Ouch, dealing with regressions is always a bit sad :/
>
> I would try the following:
>   - Check if the audio.onerror event gives an error message, I see we 
> don't really print that error out in the handler atm. Does the error 
> message give a reason?
>   - narrow down which Firefox version regressed. FF24 was good, FF27 was 
> bad - which release regressed? How does latest nightly Firefox behave? 
>   - write a minimal Emscripten-based page that loads up and plays 
> /sfx/fire.ogg, e.g. modify one of the built-in tests that play back audio, 
> and post that compiled sample as a bug report to Emscripten, or if you 
> confidently see that as a Firefox bug, then directly to Firefox bugzilla.
>   - if Emscripten gets in the way, write a minimal handwritten JS page 
> that loads up and plays /sfx/fire.ogg in a similar way that the Emscripten 
> browser audio decoding in src/library_browser.js does. Perhaps that helps 
> triage whether it's a data issue, an Emscripten audio loading issue, or a 
> Firefox issue.
>
> If all else fails, post a .zip file somewhere, and we can try to help out,
>
>    Jukka
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to