justinmind-logo
 
Upvote 4

stop playing audio file

Known Philipp 6 years ago

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?

Replies (3)
photo
2

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"...

photo
2

Hi Phillip,


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.


Best,


Sonia Durán

photo
1

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 !

photo
1

Hi Phillip,


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.


Best,


Sonia Durán

photo
1

hi there first awesome software but this problem still exists, i can only click on the icon and play the file but there is no option to stop it. i mean 3 years ? and still no sollution ?

also HTML the way the links are now is just super SEO unfriendly why not just have the option to have index.html etc and not these strange long coded links.

thx and i hope you have a sollution for this i want to pay per month but these things really should be working and like this.

photo
1

im sure its in here

} else if(jFirer.is("#s-Image_6")) {

cases = [

{

"blocks": [

{

"actions": [

{

"action": "jimPlayAudio",

"parameter": {

"target": [ "568a694e-3d8d-42a9-9e19-c7c38a332e80.wav" ]

},

"exectype": "serial",

"delay": 0

}

]

}

],

"exectype": "serial",

"delay": 0

}

];

photo
1

another thing how do i for example change this non SEO link /#/screens/d12245cc-1680-458d-89dd-4f0d7fb22724

into for examploe index.html

htaccess perhaps ?

photo
Leave a Comment
 
Attach a file