Autostarting Videos


Myspace Videos

here is an example of the code myspace gives you for a video

<object width="425px" height="360px" > <param name="allowFullScreen" value="true"/> <param name="movie" value="http://mediaservices.myspace.com/services/media/embed.aspx/m=36633008,t=1,mt=video,ap=1"/> <embed src="http://mediaservices.myspace.com/services/media/embed.aspx/m=36633008,t=1,mt=video" width="425" height="360" allowFullScreen="true" type="application/x-shockwave-flash" /> </object>

Submit the code you were given to your page - once you do that, myspace will change the code a little bit. it will then look more like this:

<object height="360" width="425">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="true" />
<param name="movie" value="http://mediaservices.myspace.com/services/media/embed.aspx/m=36633008,t=1,mt=video" />
<embed type="application/x-shockwave-flash" allowScriptAccess="sameDomain" allowFullScreen="true" src="http://mediaservices.myspace.com/services/media/embed.aspx/m=36633008,t=1,mt=video" height="360" width="425" />
</object>


now, look very carefully at the code, you need to add the parts that are in bold in 2 places:

<object height="360" width="425">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="true" />
<param name="movie" value="http://mediaservices.myspace.com/services/media/embed.aspx/m=36633008,t=1,mt=video,ap=1" />
<embed type="application/x-shockwave-flash" allowScriptAccess="sameDomain" allowFullScreen="true" src="http://mediaservices.myspace.com/services/media/embed.aspx/m=36633008,t=1,mt=video,ap=1" height="360" width="425" />
</object>


Youtube Videos

if you copy/paste the EMBED code that youtube.com gives you... it will look like this

<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/7iopjg_9E_o"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/7iopjg_9E_o" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>

all that OBJECT and PARAM stuff makes it mess up on myspace, so first trim it down to this

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

ok now that it will work on myspace, you want it to autostart, right?

for this example, this is the youtube URL

http://www.youtube.com/v/7iopjg_9E_o

you need to add this to the end of the URL: &autoplay=1

so that the code will look like this

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


Google Videos

if you copy/paste the EMBED code that google.com gives you... it will look like this

<embed allowScriptAccess="never" allowNetworking="internal"
style="width:400px; height:326px;" id="VideoPlayback"
type="application/x-shockwave-flash"
src="http://video.google.com/googleplayer.swf?
docId=-6970004754470931498&hl=en"> </embed>


you will need to add this parameter

FlashVars="autoPlay=true"

which will then look like this

<embed allowScriptAccess="never" allowNetworking="internal"
style="width:400px; height:326px;" id="VideoPlayback"
type="application/x-shockwave-flash"
src="http://video.google.com/googleplayer.swf?
docId=-6970004754470931498&hl=en"
FlashVars="autoPlay=true"> </embed>


Metacafe Videos

here is an example of the code Metacafe gives you for a video

<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" />


IFilm Videos

here is an example of the code IFilm gives you for a video

<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" />


MSN Soapbox Videos

here is an example of the code MSN Soapbox gives you for a video

<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" />


Daily Motion Videos

here is an example of the code Daily Motion gives you for a video

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


Break.com Videos

here is an example of the code Break gives you for a video

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



eXTReMe Tracker


http://abrax.us is in no way affiliated with Myspace.com
All references to Katamari™ are property of Namco Corp.