title: Mute and autoplay video on mobile devices using angular 4
body: <p>I am using html5 video tag in angular 4 app to autoplay video in background. I am unable to auto mute the video and because of that video is not autoplaying on mobile devices. Code I am using is:</p>
  
  <pre><code>&lt;video playsinline autoplay loop controls = "controls" muted = "muted"&gt;
     &lt;source src="banner-video.mp4" type="video/mp4" /&gt;
     &lt;source src="banner-video.webm" type="video/webm" /&gt;
  &lt;/video&gt;
  </code></pre>
  
  <p>PS: Video is autoplaying on laptop but is not getting auto muted.</p>