Stopping an audio file in EOS
- TheDon
- Explorer At Heart
- Posts: 118
- Joined: Wed May 16, 2018 5:47 pm
- Gender: Male
- Sexual Orientation: Straight
Stopping an audio file in EOS
I cant get this working Does somebody know how I can stop an audio file from playing in the same page?
- Spoiler: show
- Drool
- Experimentor
- Posts: 1441
- Joined: Sat Nov 28, 2015 2:24 pm
- Gender: Male
- Sexual Orientation: Open to new ideas!
- I am a: Switch
Re: Stopping an audio file in EOS
Hi. Have you tried
where "soundid" is the identifier you can give to the sound under Audio:play.
There seems to be no .stop() function, only pause...
Code: Select all
Eval
Sound.get("soundid").pause();
There seems to be no .stop() function, only pause...
- TheDon
- Explorer At Heart
- Posts: 118
- Joined: Wed May 16, 2018 5:47 pm
- Gender: Male
- Sexual Orientation: Straight
Re: Stopping an audio file in EOS
Thank you, it worked.Drool wrote: ↑Sun Feb 17, 2019 7:54 am Hi. Have you triedwhere "soundid" is the identifier you can give to the sound under Audio:play.Code: Select all
Eval Sound.get("soundid").pause();
There seems to be no .stop() function, only pause...
- Spoiler: show
Who is online
Users browsing this forum: Baidu [Spider] and 56 guests