CreateJS / SoundJS

A Javascript library for working with Audio. It provides a consistent API for loading and playing audio on different browsers and devices. Currently supports WebAudio, HTML5 Audio, Cordova / PhoneGap, and a Flash fallback.
http://createjs.com/
MIT License
4.44k stars 835 forks source link

Sound stops when opening inspector in Firefox #241

Closed itsmequinn closed 7 years ago

itsmequinn commented 8 years ago

We've found that when a sound is playing in Firefox and you open the inspector (either with a keyboard shortcut, through the hamburger drawer menu in the top right or right clicking to inspect an element), the sound stops playing and any subsequent sound will not play. If you close the inspector and open it again, sounds play again. For instance, on the SoundJS home page, if you click the middle sound in the second from the top row in the demo grid and then inspect, the sound will stop. I mention that sound in particular because it has a longer duration, which allows you to start it and inspect before it ends.

I've tested this using a normal embedded html audio element and the issue does not seem to happen, which is why I've posted this here. I'm not sure if this is a browser bug or a bug in the framework, but I couldn't find any mention of it either here or on Mozilla's Firefox bug tracker.

michaelwoods commented 8 years ago

It does appear to be a browser bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1259831

lannymcnie commented 7 years ago

Thanks @michaelwoods Closing this bug.