Play only one audio at a time

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
stanfordhealthcare
Posts: 8
Joined: Wed Jun 05, 2019 1:21 pm

Mon Jul 08, 2019 8:06 pm

Hi all, I've developed a project that has multiple hotspots. Clicking each will play an associated audio, specified using action "play media" in the skin hotspot template. But they can play over each other. To avoid this, I added a bunch of actions to each one which "stop media" for every other audio file on the skin. This is tedious when I have an audio update, going through to sub all the other "stop" actions.
Is there a method to specify either that only one audio can play at a time, or to "stop all" audio before playing a new one?
Thanks!
User avatar
Hopki
Gnome
Posts: 10858
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Mon Jul 08, 2019 10:46 pm

HI,
Try Stop Media, Target: _main.
This should stop all media in one action.
Regards,
Hopki
Hopki
Garden Gnome Software 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/
stanfordhealthcare
Posts: 8
Joined: Wed Jun 05, 2019 1:21 pm

Tue Jul 09, 2019 10:45 pm

Awesome! Thanks so much!
Post Reply