Wednesday, April 12, 2017

make an embedded video autoplay

To make an embedded video autoplay, add "&autoplay=1" to the video's embed code immediately after the video ID (the series of letters that follows "v/").

Embedded videos that are autoplayed don't increment video views.

Example:

    <iframe width="560" height="315" src="
    https://www.youtube.com/embed/D6Ac5JpCHmI?&autoplay=1" frameborder="0"
    allowfullscreen></iframe>
Regards:
https://support.google.com/youtube/answer/171780?expand=PrivacyEnhancedMode#privacy