Using java script to adjust the volume of your media

Aug 03, 2017

Hi all,

I'm just wonder if it's all possible if I insert several medias into a slide and have them played at a certain time. But I'm wondering if we can use java script to adjust the volume of these medias via slider.

 

Thanks,

Virak

5 Replies
Nancy Woinoski

Ah, I thought it listed an html5 option or does this still require Flash?

Steps to Support HTML5 Output:

  1. Add a trigger to execute JavaScript when slider moves on slider
  2. Insert the following JavaScript inside the trigger
    var player = GetPlayer();
    var volumeCount = player.GetVar(‘volumeCount’)
    Audio.setMasterVolume(volumeCount);

I agree a flash option is pretty much useless at this point.

This discussion is closed. You can start a new discussion or contact Articulate Support.