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 7230 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″/>

Leave a Comment


x

You might be Interested in these Posts

Video - What's coming in Angular 2.0

Video - What's coming in Angular 2.0 http://www.youtube.com/watch?v=zuMmCCDk6Fc&feature=youtu....

Video - Angular Router - Brian Ford

Video - Angular Router - Brian Ford http://www.youtube.com/watch?v=sfV0ApyN5fM ...

Video - An Angular2 Todo App: First look at App Development in Angular2

In this screencast , David East , one of the core contributor of the Angular provides a glimpse of A...