Forum Discussion
Disable Volume Button on Slides without Audio
Hello,
I did some research on this forum, and based on responses from about 5 years ago, it looks like the volume button is global and you can't have it on some slides, but not the others.
Is that still the case?
Thank you,
Anya
- JohnMorgan-c50cFormer Staff
Hi, Anya!
You’re correct! The volume button is global to your Storyline player so it’s available to learners throughout the course, but if you’re familiar with Javascript there is a work around to remove it on a slide by slide basis.
Add this JavaScript to the slide in question:
document.getElementById('volume').style.display = 'none';
Caveat: you have to turn it back on in the other slides w/ the same method.A few other customers have requested a feature to remove the button when there is no audio, I'll include this discussion in that request.
Thanks for reaching out!
- AnnaGorshkova-aCommunity Member
Hi John,
Thank you for the response! I'm not familiar with Javascript, but I'll look into it.
Yes, if you could please add this as a feature request, that would be greatly appreciated!
Thank you,
Anya