Page 1 of 1

Stopping an audio file in EOS

Posted: Sat Feb 16, 2019 3:00 pm
by TheDon
I cant get this working :huh: Does somebody know how I can stop an audio file from playing in the same page?

Re: Stopping an audio file in EOS

Posted: Sun Feb 17, 2019 7:54 am
by Drool
Hi. Have you tried

Code: Select all

Eval
Sound.get("soundid").pause();
where "soundid" is the identifier you can give to the sound under Audio:play.
There seems to be no .stop() function, only pause...

Re: Stopping an audio file in EOS

Posted: Sun Feb 17, 2019 8:23 am
by TheDon
Drool wrote: Sun Feb 17, 2019 7:54 am Hi. Have you tried

Code: Select all

Eval
Sound.get("soundid").pause();
where "soundid" is the identifier you can give to the sound under Audio:play.
There seems to be no .stop() function, only pause...
Thank you, it worked.