Search code examples
videoiframeyoutubeembedautoplay

Youtube Embed videos autoplay


I've an iframe which I use to embed the videos of a channel to an html page. This web page is used for digital signage so no one will be able to navigate. My problem is that the videos of the channel don't start automatically although I used &autoplay=1. Here is the code:

<iframe width="480" height="480" src="http://www.youtube.com/embed?listType=user_uploads&list=NBA&loop=1&autoplay=1&rel=0&showinfo=0&controls=0&autohide=1" frameborder="0" allowfullscreen></iframe>

Thanks.


Solution

  • try this it will work,

    mistake i noticed here, embed/video_id was not found

    <iframe width="480" height="480" src="http://www.youtube.com/embed/eF5fRl3BMTY?listType=user_uploads&list=NBA&loop=1&autoplay=1&rel=0&showinfo=0&controls=0&autohide=1" frameborder="0" allowfullscreen></iframe>