title: How to add autoplay and a loop to a Youtube video on HTML?
body: <p>I'm having trouble with adding autoplay to the video I want to put on my HTML site. Adding ?autoplay=1 or &amp;autoplay=1 didn't work. -- same with the loop</p>
  
  <pre><code>&lt;div class="videoContainer"&gt;
      &lt;iframe class="videoContainer__video" width="560" height="315" src="https://www.youtube.com/embed/HWl8XAOQnTg?rel=0&amp;amp;controls=0&amp;amp;showinfo=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen&gt; &lt;/iframe&gt;
  &lt;/div&gt;
  </code></pre>