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.
I'll leave the Javascript piece to the community - but you could insert audio pieces that are played based on when a user clicks or when an item appears on the timeline of your slide.
Perhaps if you can share a sample that'll help the community get a better sense of what you'd like to set up?
Yeah, I'm aware of that. But I want to be able to control the volume of the media through java script when it's playing. So, that learner can increase and decrease the volume using slider and while they are going through the slide.
Currently, it's not possible for me. So, there's no example.
Ah, I thought it listed an html5 option or does this still require Flash?
Steps to Support HTML5 Output:
Add a trigger to execute JavaScript when slider moves on slider
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.
5 Replies
Hi Virak,
I'll leave the Javascript piece to the community - but you could insert audio pieces that are played based on when a user clicks or when an item appears on the timeline of your slide.
Perhaps if you can share a sample that'll help the community get a better sense of what you'd like to set up?
Yeah, I'm aware of that. But I want to be able to control the volume of the media through java script when it's playing. So, that learner can increase and decrease the volume using slider and while they are going through the slide.
Currently, it's not possible for me. So, there's no example.
http://www.swiftelearningservices.com/how-to-create-custom-volume-controls-in-articulate-storyline-2/
This might help. I have not tried it myself so can't verify how well it works.
Thank Nancy. Yeah, this is indeed what I'm looking for. Except, it's only work with flash. Unfortunately, my output has to be in HTML5.
Ah, I thought it listed an html5 option or does this still require Flash?
Steps to Support HTML5 Output:
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.