Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Embedded videos: how do I keep them from playing automaticlly?
Old 05-21-2009, 03:19 PM Embedded videos: how do I keep them from playing automaticlly?
4layouts's Avatar
Skilled Talker

Posts: 66
Name: Mike McKeown
Location: St. Louis, MO
Trades: 0
I have a client whose website has two videos on the main page. Both videos start playing automaticlly. How do I make it so that they don't start until you hit play? I've done this before but I can't remember for the life of me how I did it.

Code is below:
HTML Code:
<object id="MediaPlayer1" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/ en/nsmp2inf.cab#Version=5,1,52,701"
standby="Loading Microsoft Windows® Media Player components..." TYPE="application/x-oleobject" width="280" height="256">
<param name="fileName" value="anjel_trailer.wmv">
<param name="animationatStart" value="true">
<param name="transparentatStart" value="true">
<param name="autoStart" value="true">
<param name="showControls" value="true">
<param name="Volume" value="-20">
<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="anjel_trailer.wmv" name="MediaPlayer1" width=280 height=256 autostart=1 showcontrols=1 volume=-20>
</object>
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
4layouts is offline
Reply With Quote
View Public Profile Visit 4layouts's homepage!
 
 
Register now for full access!
Old 05-21-2009, 05:29 PM Re: Embedded videos: how do I keep them from playing automaticlly?
stevej's Avatar
Professional Multitasker

Posts: 996
Location: Not positive
Trades: 0
Set the name "autoStart" to the value "false". Replace:

<param name="autoStart" value="true">

with:

<param name="autoStart" value="false">
__________________
if($stevej == "helpful") { $talkupation += $user_power; }
stevej is offline
Reply With Quote
View Public Profile
 
Old 05-22-2009, 01:40 PM Re: Embedded videos: how do I keep them from playing automaticlly?
4layouts's Avatar
Skilled Talker

Posts: 66
Name: Mike McKeown
Location: St. Louis, MO
Trades: 0
Wow. Completly missed that. Feel smart for that one
I'll just blame it on the busy day at work. Hey... at least I get to laugh at myself.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
4layouts is offline
Reply With Quote
View Public Profile Visit 4layouts's homepage!
 
Reply     « Reply to Embedded videos: how do I keep them from playing automaticlly?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.36925 seconds with 12 queries