Translate This Blog
Always Remember To Back Up Your Template Before Attempting Any Of The Tweaks On This Site

Make Youtube Videos Autoplay

Youtube videos used to have a option to set autoplay on them but was removed not long after the Rick Roll videos started going around. Rather that was the reason or not I do not know but their is a way to make the video autoplay on your own.

Here is a example of what a youtube embedded video might look like.
<iframe width="560" height="349" src="VIDEO SOURCE URL" frameborder="0" allowfullscreen></iframe>
To make the video autoplay you just need to add ?autoplay=1 after the VIDEO SOURCE URL.

Example:
<iframe width="560" height="349" src="http://www.youtube.com/embed/4P0Rbe1ASuQ?autoplay=1" frameborder="0" allowfullscreen></iframe>

2 comments:

Post a Comment

Please don't post hyperlinked text within the comment box! It will not be published and you will be marked as spam.
If you need technical support please uses the Contact forum at the top because the comment box is does not support some coding tags.

Web Design Blogs PageRank