Now with Version 7.9.0 we can play sounds. Even with mobile devices. Thats great!
I start playing if var = 1. That works fine!
Now i would like to STOP playing the audio if var = 0. How can i do that?
I solved it with a workaround. On Page Load i toggle (1, 0) each second a var called trigger. then i check on var change trigger if var siren is 1 or 0. If siren = 1 => play siren.mp3 which plays the audio for 1s. for repetitive audio files this workaround works.
But i hope there will be soon a function stop audio playing. I also miss the function "do while"...
Nice workaround. Regarding the stop audio playing I have already notified your suggestion to our development team so they can take into account for future updates.
auto playing audio seems not working on mobile devices with on page load or on var change...
it works only on tap an then you can't stop it !
Unfortunately it's a bug that will need to be solved by our engineers on future updates. Thank you for taking the time to report this and sorry for any inconvenience.
Comments have been locked on this page!