jsantell / dancer.js

high-level audio API, designed to make sweet visualizations
jsantell.github.com/dancer.js
MIT License
2.11k stars 209 forks source link

webaudio not working on FF #48

Closed kordero closed 10 years ago

kordero commented 10 years ago

It seems like recent AudioContext support from Firefox broke dancer.js behavior, making Dancer._getAdapter returns the webkit adapter on FF instead of the moz adapter. The problem is caused from an assumption in Dancer.isSupported, where the existence of window.AudioContext is considered as a non-moz browser.

I wraped up this issue by checking first for moz browsers instead of webkit, this way everything went back to normal.

jsantell commented 10 years ago

Updated in #49, in latest v0.4.0 version working with Firefox!