title: YouTube embedded video auto loop without refresh screen
body: <p>I want to show a video which starts to run automatically and loops infinitely in my adobe portfolio website. I tried using YouTube embedded video with autoplay and loop options (see below code), however, every time the video ends there is a black refresh screen before it starts again which ruins the appearance of my website. The video format I'm using is <code>.mp4</code>. I know that with <code>.gif</code> file this problem can be solved, however, the video quality will not be sufficient. I tried downloading the video into the portfolio website directly, however, I couldn't make it loop or autoplay. </p>
  
  <p>I would appreciate your help in this matter.<br>
  Thanks, Tal</p>
  
  <p>The code:</p>
  
  <pre><code>&lt;iframe width="1920" height="1080"
       src="https://www.youtube.com/embed/youtubelink?rel=0&amp;autoplay=1&amp;controls=0&amp;loop=1&amp;playlist=youtubelink&amp;amp;controls=0&amp;amp;showinfo=0" 
       frameborder="0" allowfullscreen&gt; 
  &lt;/iframe&gt;
  </code></pre>