Custom Volume Control?

May 18, 2012

Is there a way to add my own custom volume control as opposed to using the one in the player? 

I'm doing all my own custom buttons and nav for a new project so I'd like to "claim" the bottom space that that volume indicator requires in the player.

I'm guessing probably not, or maybe eventually with the SDK, but I thought I'd ask.

35 Replies
Amy Rice

I agree with Lance. If you're just looking for play/pause audio, just disable all the player controls and create your own pause button. The way I do it is via a pause button on the main layer (or master, now that buttons work on masters... when did that happen?) Trigger the pause button to show a pause layer, which has the setting  to stop the timeline of the base layer and a Play button "on top" of the pause button, which is triggered to hide the layer. Audio resumes.

Sam Hill

This is an example of Storyline 2 audio controls (Flash and HTML5). The controls contain Mute, Volume change (via slider), rewind audio to the beginning, Play/Pause toggle, audio progress indicator and Closed Captions for good measure. Its an old post, but maybe some might still find this useful. 

I built on an existing Steve Flowers flash file, but changed the direction of the communication with the Flash file (Javascript calls the flash function).

It is tested in IE Edge (Flash and HTML5) , Win Chrome (HTML5) , iOS and Mac Safari (HTML5), Pixel Chrome (HTML5) so far.

Live example: https://dl.dropboxusercontent.com/u/7158763/HTML%20and%20SWF%20Volume%20Controls%20-%20Storyline%20output/story.html

*.STORY and *.FLA attached to this post.

 

Ashley Terwilliger-Pollard

Hi Christa,

You could use the volume control that's a part of the player. There isn't a way to just use mute/unmute though - it'll allow the user to adjust the level of volume throughout the course. 

As for any custom work beyond that, the community is a great resource so I hope you're able to find what you need.