Howler.js sound issue

Hi, I’m trying to use nw.js (GitHub - nwjs/nw.js: Call all Node.js modules directly from DOM/WebWorker and enable a new way of writing applications with all Web technologies.) to create an executable version of an HTML5 app, but it just doesn’t work - it works running from a broswer, though.

By checking the console from nw.js chromium, I saw an issue about howler.js, and looking online, I found out that the 2.2.4 version currently used by openfl/lime has some issues with it. Knowing that, I opened the js file exported by openfl and manually changed the howler (and spatial plugin) version with the one recommended (2.1.3) and then everything went fine - the app worked as expected.

Is there a way to set the howler version to be used while building the HTML5 output?

I don’t think that there are any options to request that Lime uses a different version of Howler. I think that you will probably need to replace dependencies/howler.min.js where Lime is installed. Obviously, if you install a new version of Lime, you will need to replace the file again.

I see. I fixed the issue by just loading the 2.1.3 howler.js version before my exported js file (it seems the current 2.2.4 version does not set a required value for nw.js chromium), so no need to change its content. I believe this will do the trick. :wink:

Thank you a lot.