How to Auto play the Youtube video using the Embed code?

Published on July 7, 2013 by abundantcode

Filed under HTML

Last modified July 7, 2013

Print this page

rate 1 star rate 2 star rate 3 star rate 4 star rate 5 star
Your rating: none, Average: 0 (0 votes)

This article have been viewed 3974 times

Do you want to auto play the Youtube video using the Embed code? It’s pretty simple. Follow the below steps to know more about auto playing the youtube video.

The Embedded youtube video might look something like this

<iframe src=”http://www.youtube.com/embed/<Code>”/>

How to Auto play the Youtube video using the Embed code?

To auto play the video , we have to simply add another parameter(autoplay=1) to the src and we are done with it.

<iframe src=”http://www.youtube.com/embed/<Code>?autoplay=1″/>

0saves
If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

Leave a Comment


x

You might be Interested in these Posts

How to hide the status bar in Microsoft Excel with the VBA Code?

Do you want to hide the status bar in Microsoft Excel ?. You can use the VBA code to do it quickly. ...

Example for Declarative vs. Imperative Style Code in C#

Are you looking out for an example of declarative vs imperative style code in c# ? . Below is a samp...

Tools to Convert Java to C# Source Code

There are times when a developer would have done a project using Java and would want to reuse some o...