WebAudioPlayer cannot be disabled

If you add a WebAudioPlayer to a WebPage, give it a sound URL and set it as disabled in the IDE, then run, the WebAudioPlayer will still be able to play the sound. This is true even if you set the enable/disable in code.

Does anyone know a workaround?

I have added a bug report with a sample:
https://tracker.xojo.com/xojoinc/xojo/-/issues/78018

1 Like

I was not able to play your sound URL, I updated the sample with an URL to a Wav file and I can’t disable the player either.

1 Like