Instead of pausing the component audio stream, how can I change source to prevent it from streaming indefinitely?
I'm very new to all this, but I've learned the HTML5 audio component will only pause audio, not stop it. So even if I pause stream and minimize app, it will continue to buffer foreverrrrr.
I am running a constant radio stream to it, and would like a simple way to kill the stream when I click a stop button. I would assume creating an event to change source would kill it, but can't find any example js code to use.
I have set up the audio component, hidden with its one audio/mpeg src in the properties section. When I click 'play_button' image, it is set to run javascript Appery("radio").get(0).play();
when I click 'pause_button' image, it runs
Appery("radio").get(0).pause();
What would I add to change source?
Thanks