Thursday, May 3, 2007

How to Autostart Embeded Videos

When you are embedding videos it can be handy to make the video to start play when on it being loaded. This can easily be achieve by simple editing the embed code. However, the changes required vary from one video sharing site to another and these changes are not publicly published. However a list of these required changes follows for your benefit:



How-to Auto-start YouTube Videos


Add &autoplay=1 to the src url in the embed tag


<embed src="
http://www.youtube.com/v/mnPCMIUvT0g&autoplay=1" type="application/x-shockwave-flash"
wmode="transparent" width="425" height="350">




How-to Auto-start Google Videos


This is the same as YouTube, simply add &autoplay=1 to the src URL in the emebed tag.


<embed style="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash"
src="http://video.google.com/
googleplayer.swf?docId=
-8144968901001358537&autoplay=1"
flashvars="">




How-to Auto-start Metacafe Videos


Add a flashVars attribute with a value of "playerVars=autoPlay=yes" to the embed tag.


<embed src="http://www.metacafe.com/
fplayer/469657/funny_man.swf" width="400" height="345"
flashVars="playerVars=autoPlay=yes" wmode="transparent" pluginspage="
http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash">




How-to Auto-start IFilm Videos

Append &ip=true to the value of the flashVars attribute in the embed tag.



<embed width="448" height="365" src="http://www.ifilm.com/efp" quality="high"
bgcolor="000000" name="efp" align="middle" type="application/x-shockwave-flash"
pluginspage="
http://www.macromedia.com/go/getflashplayer" flashvars="flvbaseclip=2772721&ip=true">




How-to Auto-start MSN Soapbox Videos

Add a value of ap=true to the flashVars attribute in the embed tag.



<embed src="
http://images.soapbox.msn.com/flash/soapbox1_1.swf"
quality="high" width="412" height="362" wmode="transparent"
type="application/x-shockwave-flash" pluginspage="
http://macromedia.com/go/getflashplayer"
flashvars="c=v&ap=true&
v=7ba76271-1f38-4117-85f1-ba69a510e887">




How-to Auto-start Daily Motion Videos

Add a flashVars attribute with a value of "autoStart=1" to the embed tag.


<embed src="
http://www.dailymotion.com/swf/4HUcRPI5XD3jt9Bli" type="application/x-shockwave-flash"
width="425" height="334" allowfullscreen="true" flashVars="autoStart=1">





How-to Auto-start Myspace Videos


Append &a=1 to the flashVars attribute in the embed tag.


<embed src="http://lads.myspace.com/videos/vplayer.swf" flashvars="m=2014480286&type=video&a=1" type="application/x-shockwave-flash" width="430" height="346">





How-to Auto-start Break Videos


Add &autoplay=1 to the src url in the embed tag


<embed src="http://embed.break.com/MjE0MjY0&autoplay=1"
type="application/x-shockwave-flash" width="425" height="350">