Embedding a YouTube playlist is fairly straightforward, and having it autoplay is fairly simple too.
If you’d like your playlist to play the first video automatically, there is a simple code hack to achieve this. Simply add the tag &autoplay=1 immediately after the video or playlist ID.
For example:
<iframe src=”http://www.youtube.com/embed/videoseries?list=PL970B92149F4CA454&;hl=en_US” frameborder=”0″ width=”560″ height=”315″></iframe>
becomes
<iframe src=”http://www.youtube.com/embed/videoseries?list=PL970B92149F4CA454&autoplay=1;hl=en_US” frameborder=”0″ width=”560″ height=”315″></iframe>
But beware: YouTube does not count autoplaying videos as a view.
This is how the embedded playlists will appear:
User action required – viewer needs to click play – YouTube will count this as a view
Autoplaying Embed – Videos will autoplay – YouTub will not count this as a view




