Automatically Start YouTube Video Playback
Why you would want a youtube video to automatically start playing when someone visits you website?
The number 1 reason is it catches people attention.
They are forced to interact with it.
When you copy the embed code from youtube it does not offer the option to automatically play the video. It’s very easy to alter the code and this work on Myspace as well. We are just going to modify the video source URL(circled in red below)
Alter the part of the code that’s highlighted in red.
<object width=”425″ height=”344″><param name=”movie” value=”http://www.youtube.com/v/8M4rpKEMTrY&hl=en&fs=1&color1=0×2b405b&color2=0×6b8ab6“></param><param name=”allowFullScreen” value=”true”></param><param name=”allowscriptaccess” value=”always”></param><embed src=”http://www.youtube.com/v/8M4rpKEMTrY&hl=en&fs=1&color1=0×2b405b&color2=0×6b8ab6” type=”application/x-shockwave-flash” allowscriptaccess=”always” allowfullscreen=”true” width=”425″ height=”344″></embed></object>
The Code Snippet &autoplay=1
Add that code to the end of http://www.youtube.com/v/8M4rpKEMTrY&hl=en&fs=1&color1=0×2b405b&color2=0×6b8ab6 Add &autoplay=1 both times.
Remember you don’t want to do this for multiple videos on the same page, they will all play at the same time. That’s it. Your Done.
Look out for more tips on how to change the color of the player and the dimensions
People who read this also read:


