How to Autoplay a YouTube Embedded Video

0 Flares 0 Flares ×

In order to have a embedded YouTube video autoplay on load add this to the end of the URL (right after the video unique string): ?version=3&autoplay=1.

i.e. http://www.youtube.com/embed/JP9ZH6EuTrA?version=3&autoplay=1

At https://developers.google.com/youtube/player_parameters#autoplay

it states that:

autoplay (supported players: AS3, AS2, HTML5)
Values: 0 or 1. Default is 0. Sets whether or not the initial video will autoplay when the player loads.

About Frank Apicella

Frank Apicella is the founder of Snippet Central and HtotheML. He helps people make websites. However and whichever way he can accomplish it. With a strong background in Wordpress he can most certainly help you out.

Leave a Reply