How to Autoplay Youtube Embed Video

In this article you are going to see how to automatically play a youtube video which is embed in external websites.
1) Open any youtube video of your choice  
2) click on "share" ->"embed"
3) Copy the iframe code
4) Now login to your website administrator
5) Create / Open a "Article"
6) click on editor and paste the code in the description area which you have copied previously
7) Now Add "?autoplay=1" to youtube video’s embed code right after the video ID
Example     src="https://www.youtube.com/embed/211YkEApsds"
newcode:-   src="https://www.youtube.com/embed/211YkEApsds?autoplay=1"
8) Save the article
9) Refresh the frontend of the webpage the video will start playing automatically

That's it

category: