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.
Thanks Godwin and we love to see more examples, but I did want to note that you shared a link to a course hosted on Google Drive, and they're going to stop supporting hosting come mid August so you may want to look at one of the other hosting options here.
Hopefully Godwin is still subscribed here, but you may want to reach out via the 'Contact Me' option on the user profile if you do not hear back soon :)
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.
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.
Thanks Sam for sharing that example here with the link and the .story file! It's always great to see what other users have come up with in Storyline for these custom methods!
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.
Can this please be added. Giving the users the ability to adjust the volume with on-screen controls is exactly what I'm looking for to address concerns a client has about ease of accessibility.
35 Replies
Thanks Godwin and we love to see more examples, but I did want to note that you shared a link to a course hosted on Google Drive, and they're going to stop supporting hosting come mid August so you may want to look at one of the other hosting options here.
Hi Godwin
I cant seem to get your solution to work. Would you be able to attach the storyline template?
Hi Stephen!
Hopefully Godwin is still subscribed here, but you may want to reach out via the 'Contact Me' option on the user profile if you do not hear back soon :)
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.
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.
Thanks Sam for sharing that example here with the link and the .story file! It's always great to see what other users have come up with in Storyline for these custom methods!
I only want a possibility to mute and turn on audio. Does SL3 or 360 have this function?
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.
Is there a way to set the volume at 20% when the player starts?
Can this please be added. Giving the users the ability to adjust the volume with on-screen controls is exactly what I'm looking for to address concerns a client has about ease of accessibility.