Forum Discussion
anithaduraisamy
8 years agoCommunity Member
Mute audio using javascript
Hi guys,
i want to create my own mute/unmute audio button using articulate.i done this but i have a small problem.
problem:
i have three to four audio within a single slide.
when i click mut...
Jürgen_Schoene_
3 years agoCommunity Member
for audio it's not working, because storyline don't use html5 audio with a webserver and modern browser, storyline uses - if available - web audio
https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API
if you wan't html5 audio, you have to
copy
window.AudioContext = null;
window.webkitAudioContext = null;
to
story.html + index_lms.html
or better at the end of the user.js
the two lines cannot be added to the internal storyline javascript - it's to late