title: Make YouTube video autoplay using React
body: <p>I am trying to make my video autoplay using react. adding <code>autoplay=1</code> as a parameter doesn't work. Any suggestions?`</p>
  
  <p>Here is my code.</p>
  
  <pre><code>&lt;div
    className="video mt-5"
    style={{
           position: "relative",
           paddingBottom: "56.25%" /* 16:9 */,
           paddingTop: 25,
           height: 0
         }}
  &gt;
      &lt;iframe
         style={{
               position: "absolute",
               top: 0,
               left: 0,
               width: "100%",
               height: "100%"
               }}
          src={'https://www.youtube.com/embed/hEnr6Ewpu_U?'}
          frameBorder="0"
      /&gt;
  &lt;/div&gt;
  </code></pre>