WebAudioPlayer serious bug, avoid using it

In the long list of unusable basic controls, whe have now the WebAudioPlayer…

There is a SERIOUS problem with the web controls, Xojo decided to add the EventListener in javascript for ALL the events, even if those events are NOT implemented in xojo for that control. That means a lot of useless communication with the server…

Yes, this is a problem in ALL the web controls, but, why is specially wrong in WebAudioPlayer? Because the “timeupdate” event in the javascript framework is usually raised at 4Hz to 66Hz … So using the WebAudioPlayer causes AT LEAST 4 events fired each second. It fires even if you dont implement the “PlaybackProgressed” event in xojo and even if the WebAudioPlayer has no visible controls…

Workaround: Patch the Xojo.js file to remove the line where the JS event is added…

m.addEventListener("timeupdate", a),

(video player should have the same problem)

issue created:

https://tracker.xojo.com/xojoinc/xojo/-/issues/71239