The browser close detection Nimos100 is asking for could be provided by extending the triggers for the Browser object with the "BeforeUnload" event. It works
using javascript with window.onbeforeunload ...
Another suggestion for the "Audio" Object:
- Add the ability to play a sound stream, not just a sound file.
I have currently managed to do this using the Browser.Execute javascript with the following parameter:
"var audio = document.createElement('audio');audio.src='http://onefm.ice.infomaniak.ch:80/onefm-high.aac';audio.play();"
(Replace the information under audio.src with the address of your stream and it should work fine)
The only issue is I haven't found how to stop the audio from playing (I can't find a way to get the instance stored in the audio variable back to Construct to then call audio.pause() in the same way. If anyone has an idea, it would be great