Hacker News new | ask | show | jobs
by schiffern 1573 days ago
If this isn't working for you on Firefox, check that dom.webaudio.enabled isn't set to false.

If Web Audio is disabled then window.AudioContext is undefined, causing a crash:

    Uncaught TypeError: AudioContext is not a constructor
        Sound https://d33wubrfki0l68.cloudfront.net/bundles/72f7c09a3e8485a33911cdf084acaeaf58ce17ce.js:5
        startGame https://d33wubrfki0l68.cloudfront.net/bundles/72f7c09a3e8485a33911cdf084acaeaf58ce17ce.js:482