Forum Discussion
PatriceSigmon
13 years agoCommunity Member
Javascript to MUTE audio?
Is it possible to MUTE audio in Storyline? I'm working on a course with a ground-up custom interface with a button that's supposed to mute/unmute - not pause/play or stop/play - the audio.
Are t...
NicoleRalph-117
Community Member
Hi there,
I've had success with this script.
** Volume JavaScript code
var appState = require("helpers/appState");
appState.onToggleVolume();//mute/unmute
console.log(appState.volumeToggle);
Hope this helps.
Nicole
AndrewHoskins-e
4 years agoCommunity Member
Thank you Nicole. How did you set up your triggers? I plan to attach it to an image on the master slide.