Click to See Complete Forum and Search --> : autostart code for embed


Wasiu0607
09-03-2007, 01:08 AM
here is my embed code and I would like the video to autoplay when I reach the website. I tried adding autostart="true" into the embed code but it doesn't work. Can anyone please tell me what code I must use in order for the vid to autostart?

Thanks!

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

WebJoel
09-03-2007, 12:15 PM
AUTOSTART="1" (try this).

Wasiu0607
09-03-2007, 12:27 PM
Nope, doesnt work either.

WebJoel
09-03-2007, 01:09 PM
Maybe we need to use something other than "<embed>"...
http://www.alistapart.com/articles/byebyeembed

Major Payne
09-04-2007, 01:27 AM
You need embed for some of the older browser but include the object tag too. Try setting up your code using this easy to use Embedded Media HTML Generator (http://cit.ucsf.edu/embedmedia/step1.php). You can set your variables with it like autostart, copy/paste the code and even test it if you put in the path correctly.

Ron