maximecb/noisecraft

Music does not play without internet connection

Opened this issue · 1 comments

I'm using Firefox 117.0.1, so I think this might be related to known issues that Firefox has with worklets (eg. issue #28).

To reproduce:

  • Load or create a Noisecraft layout that can produce sound
  • Disable internet connection
  • Press Play. The Play button will toggle, but no playback will occur.

The Firefox console shows that pressing Play normally causes https://noisecraft.app/public/audioworklet.js to be loaded, but since there's no internet connection, the load fails, which causes an error and prevents playback.

Do you have a proposed solution? If so, could you open a PR to fix the problem?