Advertisement
nrzmalik

How to Add Custom Volume Control in Articulate Storyline

Oct 1st, 2023 (edited)
813
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JavaScript 0.25 KB | Source Code | 0 0
  1. var player = GetPlayer();
  2. var volume = player.GetVar("volume");
  3. function adjustVolume(level) {
  4.     var appState = window.DS ? DS.appState : require("helpers/appState");
  5.     appState.onToggleVolume(level);
  6. }
  7. volume = volume/10;
  8. adjustVolume(volume);
  9.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement