Do you want to auto play the Youtube video using the Embed code? It’s pretty simple. Follow the below steps to know more about auto playing the youtube video.
The Embedded youtube video might look something like this
<iframe src=”http://www.youtube.com/embed/<Code>”/>
How to Auto play the Youtube video using the Embed code?
To auto play the video , we have to simply add another parameter(autoplay=1) to the src and we are done with it.
<iframe src=”http://www.youtube.com/embed/<Code>?autoplay=1″/>
Leave a Reply