How to play Embedded YouTube Video Automatically

472

Play YouTube Video Automatically, if you want to show YouTube video on other website then you have to embed the video. But it would not play automatically when someone visit on this webpage. Visitors need to play embedded video manually. If you want to play embedded YouTube Video Automatically then follow the steps below:

How to play YouTube video automatically?

play youtube video automatically

How to embed YouTube video?

Step 1: At first play a YouTube video.

Step 2: Go to “Share” option and click on “Embed” button and copy the following code.

You can see the example below:

This is a video of YouTube https://www.youtube.com/watch?v=GbgeezrfOjg – I want to embed and play it automatically.

embed youtube video

Now customize the code for playing YouTube video automatically

Just add ?rel=0&autoplay at the end of video URL.

https://www.youtube.com/watch?v=GbgeezrfOjg?rel=0&autoplay

Total code after customization:

<iframe width=”560″ height=”315″ src=”https://www.youtube.com/embed/GbgeezrfOjg?rel=0&autoplay” frameborder=”0″ allowfullscreen></iframe>

Watch my YouTube channel ad is playing automatically

Thank you for watching…

Biswajit Das
"If no one responds to your call, then go your own way alone". Open thy mind thy mind walk alone walk alone We not afraid, walk alone Open thy mind, walk alone. ---------------------------------------- A clear rejection is always better than a fake promise.