title: Is it possible to mute and unmute sound from <object> and <embed>
body: <p>So I have an <code>&lt;object&gt;</code> and <code>&lt;embed&gt;</code> (which is the fallback) loaded into a html file (index.html)
  like so: </p>
  
  <pre><code>&lt;object id="glitch" 
   data="skull/Glitch" 
   width="100%" height="100%" 
   style="overflow:hidden; width: 100%; height: 100%; overflow-y: hidden;"&gt;
  
  &lt;embed id="glitch-embed" 
   src="skull/Glitch" 
   width="100%" height="100%"&gt; 
  &lt;/embed&gt;
  Error: Embedded data could not be displayed.
  &lt;/object&gt;
  </code></pre>
  
  <p>Inside the object is an <code>&lt;audio&gt;</code> tag that plays when the glitch happens I want to know if I can mute and unmute the audio tag inside the object and embed via a button in the index.html file how would one go about doing this?</p>
  
  <p>Here is my button in the index.html it also controls other sounds in the index</p>
  
  <p>Html:</p>
  
  <pre><code>&lt;a href="#" class="mute-button MuteOff link"&gt;
      &lt;i id="mute-icon" class="fa fa-volume-up"&gt;&lt;/i&gt;
      &lt;/a&gt;
  </code></pre>
  
  <p>js</p>
  
  <pre><code>  $('.mute-button').on('click tap touch', function() {
          var $this = $(this);
  
          if( $this.hasClass("MuteOn") ) {
      audio1.volume=1.0;
      audio2.volume=1.0;
      audio3.volume=1.0;
      audio4.volume=1.0;
      audio5.volume=1.0;
  
      $this.removeClass("MuteOn").addClass("MuteOff");
       $('#mute-icon').removeClass("fa fa-volume-off").addClass("fa fa-volume-up");
  
  
          } else {
  
      audio1.volume=0.0;
      audio2.volume=0.0;
      audio3.volume=0.0;
      audio4.volume=0.0;
      audio5.volume=0.0;
  
      $this.removeClass("MuteOff").addClass("MuteOn");
            $('#mute-icon').removeClass("fa fa-volume-up").addClass("fa fa-volume-off");
          }
      });
  </code></pre>
  
  <p>Thanks in advance
  site I'm working on with this problem: <a href="https://ui-unicorn.co.uk" rel="nofollow noreferrer">https://ui-unicorn.co.uk</a></p>