Make YouTube Video Auto Play

Sometimes the first thing that we might want to share with a visitor to our web page is a playing video. Using YouTube, it is rather easy to add auto play functionality to any YouTube video. It is a simple code that needs to be inserted in the code from the share option on YouTube.

To get the code for the video, go to YouTube and find the video you would like on your site. Then get the video code by clicking on the share button at the bottom:

Code for Video YouTube Auto Play

Now that we have the code, all we need to do is add the auto play functionality. We do this by adding the following code highlighted below. The “Before” example is what the code looks like when we first get it from YouTube, the “After” example features the additional code to be added in bold. Make sure to add it to the video in the exact same position, with the exact same characters.

YouTube Video without Auto Play

<iframe width=”640″ height=”360″ src=”[YouTube Video URL]” frameborder=”0″ allowfullscreen></iframe>

YouTube Video with Auto Play

<iframe src=”[YouTube Video URL]?rel=0&amp;autoplay=1″ width=”640″ height=”360″ frameborder=”0″ allowfullscreen=”allowfullscreen”></iframe>

That’s it! Now your ready to enjoy auto play YouTube videos on your website. Just make sure to embed the code in the HTML editor of your site, and you should be good to go.

Written by: Jophiel Silvestrone

Jophiel Silvestrone has written 276 posts in the Tech Blog.

Jophiel grew up on a ranch in Paradise Valley, Montana near Chico Hot Springs. Working on the ranch instilled work ethic and self motivation. Filled with this drive, Jophiel started mowing the local school's yards twice a month throughout the summers, at the age of 12. He moved to Billings in 2004, where he has been deeply involved in the local business community ever since. A serial entrepreneur, Jophiel has ran multiple businesses in our local community. The first business, a janitorial and carpet cleaning company, founded in 2005, has employed over 50 locals. Moving on to the media industry, Jophiel and several partners founded Green Directory Montana in the spring of 2007. Green Directory's sustainability ranking software awarded points based on sustainable or "green" actions. These points counted towards a business's total "Green Score," which in turn ranked them against other businesses in their category and throughout the entire site. It also featured a limited edition print version distributed annually. A business acquisition allowed Jophiel to focus on new projects, and a few close business colleagues and Jophiel started Rocky Mountain Mr. & Ms. Magazine, a lifestyle publication for men and women in the Magic City. After a year and a half at the helm of RM3 Magazine, the business was purchased. He now runs a web development company SkyPoint Studios and fathers his son Jaoquin, who plays football, basketball, soccer, and is learning snowboarding from his dad. Recently, has expanded to locations in Havasu, Arizona & Vegas. SkyPoint Studios is a market leader in both Billings & Havasu and Jophiel is working on building that same level of market dominance in Vegas. Specialties: Extensive experience in online and offline business. Especially savvy at WordPress, and operate several sites, one example is the blog: Check out for the latest projects from SkyPoint Studios.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.