Solved: Help with Autostart video code

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

ustacp

Thread Starter
Joined
Aug 13, 2004
Messages
292
How can I make this video start automatically? Right now you have to activate it and click play for it to run. I want it to run as soon as the webpage loads up. I cant seem to figure out where to place the coding. Thank you.

<param name="movie" value="http://www.youtube.com/v/yiIVr3K_Lfw"></param><embed src="http://www.youtube.com/v/yiIVr3K_Lfw" type="application/x-shockwave-flash" width="240" height="180"></embed><p>
 
Joined
May 3, 2006
Messages
19
Just add autoplay="true" in your <embed> tag anywhere.

<embed src="mymovie.mov" autoplay="true">

Code:
<embed src="http://www.youtube.com/v/yiIVr3K_Lfw" type="application/x-shockwave-flash" width="240" height="180" autoplay="true"></embed>
That should do it.
 
Joined
Jul 30, 2006
Messages
1
As the OP surely found out, for some reason the autoplay=true will not work if it is just randomly embedded anywhere. I tried this, ALSO using a video from YouTube.com like the OP, and it didn't work for me. I tried several variations and still no success.

Luckily for me - after some Googling I bumped across a page where someone had successfully started a YouTube video automatically w/o the user having to click to activate it.

You must insert this: &amp;autoplay=1 like so:

<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/yiIVr3K_Lfw"></param><embed src="http://www.youtube.com/v/yiIVr3K_Lfw&amp;autoplay=1" type="application/x-shockwave-flash" width="425" height="350"></embed></object>

I know it looks funny, but I swear it works. Check out my page, if you don't believe.http://toppahshottah.hi5.com
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top