Evaluate audio file

Q&A about the latest versions
Post Reply
User avatar
MomenteSindEinmalig
Posts: 23
Joined: Mon Feb 22, 2021 10:52 am

Hello, is it possible to evaluate the end of an audio file and e.g. to switch a play / stop button when an audio file has ended?

Thanks!

Martin
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Martin,
Yes, you can use the seek bar element and hide it
Then give it actions like media end > do something.
Or in your case activate show pause, deactivate show play.
You will need one for each audio clip.

You can also use a video element that can use the same actions.
You would add your audio clips to assets, then you can use a Set Value action, so setting the path in the video element.
Then way the same video element can play many different clips.
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
User avatar
MomenteSindEinmalig
Posts: 23
Joined: Mon Feb 22, 2021 10:52 am

Hi Martin,

works fine!!!

THX so much!

Martin
Post Reply