Can slider be used to control audio?

Jan 16, 2016

I have a lesson with large audio clips (each being about 2 minutes long). I was just wondering if there was a way to give the user control of what part of the audio they listen to (give them the ability pause, rewind or fastforward to different parts in the audio. Could the slider do this?

7 Replies
Azizi Abdullah

Jon, why don't you simply use the volume control on the player? See these instructions on how to add it.If you don't want the player volume control displayed for all slides, you can set your own custom player with the volume control active, and only apply that to specific slides as shown here.

With embedded movies, disable the player seekbar because this and the actual movie are notorious for getting out of sync. Instead, switch on the player controls for the actual video, shown here.

Lizzie Angell

HI I have tried to use the tutorial from Swift and cannot get it to work! :(

I have used:

volumeSlider with parameters: start-end: 0-1; step 0.1; initial: 0.8
So you don’t need use dividing by 10.

Javascript:

var player=GetPlayer();
var v_volume = player.GetVar(“volumeSlider”);
Audio.setMasterVolume(v_volume);

$(‘audio’).prop(‘volume’,v_volume);
$(‘video’).prop(‘volume’,v_volume);

Can anyone point out where I am going wrong?

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