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...
DiarmaidCollins
Community Member
Hi Amit,
Not sure why things have changed for you. The code Lizzie supplied (and I mention above) still works. I published a module with it last week and it behaves as it should.
//mute/unmute
// Use the global DS object if it exists, otherwise try require:
var appState = window.DS ? DS.appState : require("helpers/appState");
appState.onToggleVolume();
amityunger-53b6
4 years agoCommunity Member
This works great!
Thank you very much! :)