Thanks Shailesh for sharing here - and I see you've got this set up with some Javascript as well, it's great to have more examples that community members can use.
I tried the example above and the slider is not updating the audio volume. This part of the javascript "Audio.setMasterVolume(volume);" doesn't seem to run.
You may want to reach out to Shailesh directly using the "contact me" feature on his profile, as I'm unable to assist with Javascript elements. You'll also want to make sure that you're testing the published output within the intended environment as testing it locally could cause you to encounter some security restrictions that won't allow the content to play as expected.
what do you mean when you say "For Flash version, you need to add the custom flash volume control code (sound object) and add the SWF file in Storyline"?
Thanks for reaching out here and since this thread is a bit older, you may want to take a look at reaching out to the folks in this thread using the "contact me" button on their profile to see if they're able to offer up ideas or suggestions on how to set this up or what else you'll need to do.
Hey James - just in case Reena isn't subscribed to this discussion, you can message folks directly in ELH using the "contact me" button on their profile. That way she may be able to pop back in here and share the file or email it to you directly.
Just in case Reena isn't subscribed to this thread anymore, you can message her directly in ELH using the "contact me" button on their profile. That way she may be able to share the file here or email it to you directly.
18 Replies
Thanks Shailesh for sharing here - and I see you've got this set up with some Javascript as well, it's great to have more examples that community members can use.
Hello,
I tried the example above and the slider is not updating the audio volume. This part of the javascript "Audio.setMasterVolume(volume);" doesn't seem to run.
Hi Derek,
You may want to reach out to Shailesh directly using the "contact me" feature on his profile, as I'm unable to assist with Javascript elements. You'll also want to make sure that you're testing the published output within the intended environment as testing it locally could cause you to encounter some security restrictions that won't allow the content to play as expected.
Hello Derek,
It will work in the HTML5 version. Also you need to test the files after uploading on any server (check using http link).
For Flash version, you need to add the custom flash volume control code (sound object) and add the SWF file in Storyline.
I tried working with the HTML5 version but it still wasn't working. Do you have any examples of the Flash version?
Hi Shailesh,
what do you mean when you say "For Flash version, you need to add the custom flash volume control code (sound object) and add the SWF file in Storyline"?
Hi Cosmo,
Thanks for reaching out here and since this thread is a bit older, you may want to take a look at reaching out to the folks in this thread using the "contact me" button on their profile to see if they're able to offer up ideas or suggestions on how to set this up or what else you'll need to do.
Hi,
I have found the solution of create custom volume controller.
Regards
Reena
Thanks Reena for sharing here and glad you found a solution that'll work for you.
Hi Reena, are you able to provide the .story file for this? I would love to have a look.
Hey James - just in case Reena isn't subscribed to this discussion, you can message folks directly in ELH using the "contact me" button on their profile. That way she may be able to pop back in here and share the file or email it to you directly.
Hi Ashley\James
Apologies for delay in response, am attaching the updated files with you.
No apologies necessary - just glad you were able to share the file! Thanks for doing so, and starting this new discussion too!
Thanks Reena, that's going to come in very helpful. Hugely appreciated!
i am looking volume control without flash file. Does anyone help?
i am looking volume control without flash file. Can you help?
Hey Hari!
Just in case Reena isn't subscribed to this thread anymore, you can message her directly in ELH using the "contact me" button on their profile. That way she may be able to share the file here or email it to you directly.
Hi please this code for audio controlling.
Mute:
var appState = require("helpers/appState");
appState.onVolumeChanged(0);
Unmute:
var appState = require("helpers/appState");
appState.onVolumeChanged(0.8);
This discussion is closed. You can start a new discussion or contact Articulate Support.