A stream I set up has an autoplay feature through its streaming provider, but it only applies to video. Audio (on the right channel) remains muted until the user clicks unmute. I want the audio to autoplay as well.
I figure simulating a click on the mute button on page load would do what I want. But doing this in console gives a click is undefined
error. Why is this?
document.getElementsByClassName("vjs-mute-control").click