I am trying to add a Youtube link to my website that will autoplay when in view and loop endlessly. I am having a bit of a hard time understanding how to change the code in order to do that.
This is an example of the code I got from the youtube video:
<iframe width="560" height="315" src="https://www.youtube.com/embed/F-Nyr18ASbw?controls=0" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
Will appreciate any help!