Forum Discussion
anithaduraisamy
8 years agoCommunity Member
Mute audio using javascript
Hi guys,
i want to create my own mute/unmute audio button using articulate.i done this but i have a small problem.
problem:
i have three to four audio within a single slide.
when i click mut...
Jürgen_Schoene_
3 years agoCommunity Member
this stops working some years ago
https://community.articulate.com/discussions/articulate-storyline/javascript-to-mute-audio?page=5
the new methode is
DS.appState.onToggleVolume();
and here some other nice functions
DS.appState.currentVolume() // get sound volume [0 ... 1]
DS.appState.setVolume( value ) // set sound volume value: [0 ... 1]
DS.appState.lastVolume // value: [0 ... 1]
DS.appState.enterFullScreen(); // start fullscreen mode
DS.appState.exitFullScreen(); // exit fullscreen mode
DS.appState.toggleFullScreen(); // toggle fullscreen mode
DS.appState.accessibleTextOn();
DS.appState.accessibleTextOff();
DS.appState.getPlaybackSpeed();
DS.appState.setPlaybackSpeed( value );
DS.appState.playbackSpeed