Mute code that works in LMS updates??
Nov 06, 2017
Hi everyone!
I've been trying for a few weeks to create a button that mutes the audio in Storyline. I managed to do one using javascript but I have a problem, the course I am doing I have to upload it in LMS and the button doesn't work. I think it is because the course is not uploaded as a web and the functions in javascript code is not recognized.
Does anyone know any solution to this problem?
I add the javascript code that I made:
var myAudio = document.getElementsByTagName('audio')[0];
myAudio.volume=0;
Thank you very much!
6 Replies
Which version of Storyline are you using?
Storyline 360
Try this code instead to toggle the mute:
Still not works :/
I think that it isn't a problem of the code, it's when you choose "Execute Javascript", LMS can't recognize it.
Hi Angela,
You may also want to try your course in another LMS environment to rule out any LMS interference. You can use SCORM Cloud, it's free up to 100MB course. Also, make sure you're using a supported browser for Storyline 360 and your LMS. You can see the Storyline browsers at the bottom of this article.
Angela, which LMS are you using?
This discussion is closed. You can start a new discussion or contact Articulate Support.