There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
acer black screen blue screen boot computer connection crash css dell drive driver drivers email error ethernet excel explorer firefox firefox 3 hard drive internet internet explorer itunes laptop linux malware monitor network networking outlook outlook 2003 outlook express password printer problem problems ram router security slow software sound sprtcmd.exe trojan usb virus vista windows windows xp wireless
Web Design & Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
Solved: Help with Autostart video code


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
ustacp's Avatar
Senior Member with 264 posts.
 
Join Date: Aug 2004
Location: North Canton, Ohio
Experience: I'm trying.
23-Jul-2006, 02:30 AM #1
Solved: Help with Autostart video code
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>
__________________

David
United States Military Rigger, HUA!
Only The Dead Have Seen The End Of War
ewiessner's Avatar
Computer Specs
Junior Member with 17 posts.
 
Join Date: May 2006
Experience: Advanced
23-Jul-2006, 09:55 AM #2
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.
Kengne's Avatar
Junior Member with 1 posts.
 
Join Date: Jul 2006
Experience: Intermediate
30-Jul-2006, 11:05 PM #3
Correction
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
ustacp's Avatar
Senior Member with 264 posts.
 
Join Date: Aug 2004
Location: North Canton, Ohio
Experience: I'm trying.
31-Jul-2006, 07:17 PM #4
Hey, it works lol. Thanks a lot.
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who help people like you solve computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 07:51 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.