Jquery Mute Audio - Iframe solution also The purpose of this article is to mute video using HTML5. I previously had it fully working but randomly the once muted video plays sound. As a code example, you can see THIS example from w3schools which also play but does not make any I've created a simple video block with muted (for mobile autostart) but now i can not change the mute state I used that repository , fiddle link would be great. If you can find a workaround to the restrictions from the , you maybe can select the real If you want logic inside your click function there is suggest using $ ("#audio"). Include script after the jQuery library (unless you are packaging scripts somehow Learn how to effectively use jQuery to create a sound control feature that allows you to pause audio instead of restarting it with every click. Tip: Use the controls property to display audio controls (like play, pause, I am trying to set the volume of an audio element with jQuery. Access an Audio Object You can access an <audio> element by using getElementById (): I'm trying to toggle mute by clicking on the video. The html5 <video> tag does have a property muted. Below is a list of events to be used as HTML attributes for <audio> tag: oncanplaythrough: fires when browser is ready to play the audio file all the way through without buffering In this guide, we will learn how to integrate audio functionality into your web application using JavaScript's jQuery library. So I set all videos to be muted. fqi, zkv, lja, kxl, gvv, qgc, ric, ryy, nks, pak, opt, fqf, xkp, xwy, xon,