Forum Discussion
Javascript to MUTE audio?
Hi Heinrich,
I can't speak to the Javascript element - but if it's not working in your LMS it may be worth testing at SCORM Cloud. It's a free standard for testing LMS content and if it works there you should reach out to your LMS team. Take a look at the directions here for how to test in SCORM Cloud.
Hi Ashley,
Thanks for the tip. I've tested it in the ScormCloud. There it does not work unfortunately.
I get the following error message in the console:
app.min.js:12 actionator::exeJavaScript - Cannot read property 'volume' of undefined
And when I try over the console:
jQuery('audio').prop('volume','0');
I get the following:
[prevObject: init(1), context: document, selector: "audio"]
context:document
length:0
prevObject:init(1)
selector:"audio"
__proto__:Object(0)
It seems, that no audio tags found.