When you want a video on your website to play infinite times
you need to adjust the code you get from youtube.
This is the embedded code you get from youtube
<iframe width="560" height="315" src="https://www.youtube.com/embed/pfGYsxpNJKc" frameborder="0" allowfullscreen></iframe>
this code you need to change into:
<iframe width="560" height="315" wmode="transparent" src="//www.youtube.com/embed/pfGYsxpNJKc?loop=1&playlist=pfGYsxpNJKc" frameborder="0" allowfullscreen></iframe>
And your video will play until you hit the stop button.
Join the Discussion
Write something…