How to Add a Custom Volume Controller in Articulate Storyline 3 or Storyline 360

Audio Transcription

In this video we will see how to add a custom volume controller in Articulate Storyline 3 or SL 360.
Please click the following reference URL for quick info: https://www.swiftelearningservices.com…

The latest release of Articulate Storyline 360 or Storyline 3 has number of exciting new features allowing eLearning developers to explore many more creative ways in developing new interactions.

Yet, we still have a few things that cannot be achieved using the native options of Articulate Storyline 360. One such, most requested functionality is, the ability to control volume of the course without the default storyline player. Our previous blog on how to achieve this functionality in Articulate Storyline 2 has helped many to include a volume controller in custom players. But, since there have been many changes done under the hood in Storyline 360. We need a new approach for this functionality to work. In this blog we will see how to add a custom volume controller in Articulate Storyline 3 or SL 360.

Step 1:
Insert a “Slider” or “Dial”.

Step 2:
Then, in the “Design Tools” set the values of the dial/slider as follows:

Start Value: 0

End Value: 1

Initial Value: 1

Step Value: 0.01

Step 3:
Rename the slider/dial variable to “Volume”.

Step 4:
Set a trigger to “Execute JavaScript” when “Slider moves” or “Dial Turns” based on the interaction that you are using.

Step 5:
Then add the following JavaScript to the trigger and hit ok.

_g.trigger(“volume:changed”, GetPlayer().GetVar(“Volume”));

Step 6:
This is the last and most important step.

After you’ve published the course, in the published output, navigate to the following path:

Storyline output\html5\lib\scripts

Here, you will see a file named “app.min.js”. We need to replace this file with the modified file which you can download from above link.

Once, done you can go ahead and test your project.

Note:
This does not work in preview mode

This approach is only for HTML 5 output. If you also need this functionality for flash output, you can use the method shown in our

previous blog for articulate storyline 2: https://www.swiftelearningservices.com…

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *