-
Adding .wmv files
I have added windows media videos but they will automatically start once the
page is accessed. How do I make it so you have to click on start to start
the video?
Greg
-
Re: Adding .wmv files
Here's the code, notice there are two places where autostart needs to be set
to "false" or "0" for all browsers. Adjust height and width of player to
your needs. Change path/your-video-filename.wmv to match your own location
on server:
<OBJECT ID="MediaPlayer" WIDTH="192" HEIGHT="190"
CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
STANDBY="Loading Windows Media Player components..."
TYPE="application/x-oleobject">
<PARAM NAME="FileName" VALUE="path/your-video-filename.wmv">
<PARAM name="ShowControls" VALUE="true">
<param name="ShowStatusBar" value="false">
<PARAM name="ShowDisplay" VALUE="false">
<PARAM name="autostart" VALUE="false">
<EMBED TYPE="application/x-mplayer2" SRC="path/your-video-filename.wmv"
NAME="MediaPlayer"
WIDTH="192" HEIGHT="190" ShowControls="1" ShowStatusBar="0" ShowDisplay="0"
autostart="0"> </EMBED>
</OBJECT>
Nancy O.
www.alt-web.com/Tutorials/
NOF Tips & Tutorials
"Gregory Conn" <gac@upholsterystudio.com> wrote in message
news:g38mch$blt1@flsun90netnews01.netobjects.com.. .
> I have added windows media videos but they will automatically start once
the
> page is accessed. How do I make it so you have to click on start to start
> the video?
>
> Greg
>
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules