We embed YouTube videos in articles or blog posts for innumerable reasons. There may be times when a video would add more value to the post if it starts playing itself when loading of page is completed or we can put it in other words i.e Autoplay YouTube video on page load.
Auto playing an embedded YouTube video couldn’t get easier than this. Our favorite Google makes all efforts to make user experience comfortable and has provided YouTube with an AutoPlay feature as well.
To embed YouTube video that AutoPlays itself on page load you have to follow the steps listed below. It is very easy trick to achieve our goal.
Step 1: Embed YouTube video by pasting Embed Code as usual.
<iframe width=”560″ height=”315″ src=”httpss://www.youtube.com/embed/bur_ReWJQFU” frameborder=”0″ allowfullscreen></iframe>
Step 2: Attach ?autoplay=1 at the end of the url of the video in Embed Code.
<iframe width=”560″ height=”315″ src=”httpss://www.youtube.com/embed/bur_ReWJQFU?autoplay=1 ” frameborder=”0″ allowfullscreen></iframe>
Step 3: That’s all.
After performing this trick when someone loads the page with this embedded code, then the video will start playing itself automatically. This could be helpful for websites that stream videos as auto playing would capture the user’s attention towards the video that has been released lately or also serve as a medium of promoting the contents of the video.
Secondly, it will also help in increasing the views of the video views even if user don’t start it
If you have any queries related to this article then feel free to ask in the comment section. We will be glad to help you.
Enjoy & Stay Techie…