Saturday, 11 November 2017

How to Make an Embedded Youtube Video Play Automatically


How to Make an Embedded Youtube Video Play Automatically
To make an embedded video autoplay, add "&autoplay=1" to the video’s embed code right 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/QI-ApvfwaTQ?&autoplay=1" frameborder="0" 
allowfullscreen></iframe>

SOURCE: https://support.google.com/youtube/answer/171780?hl=en

No comments:

Post a Comment