Forum Discussion

ClaireSutton-62's avatar
ClaireSutton-62
Community Member
4 years ago

How to mute audio on a video slide based on a variable

Hi, I have a course which has audio and video within it. I've set up a selection page and associated variable and triggers for users to select if they want audio to play throughout the course or not. i.e. Play audio when timeline starts if audioPlay(variable) = true. This works fine for slides with audio, but is there anything that can be done for videos?

Is there a way to Mute the video content only if this variable is true? Allowing a user to watch the video with captions but no sound? If anyone might know a way that would be amazing!
  • Hi, Cee, and welcome to E-Learning Heroes! ✨

    Thank you for reaching out!

    While I'm not aware of a built-in variable you can use to mute the sound of your video, take a look at the method described in this response (and discussion) using Javascript:

    I hope this helps!