Hi

I have an embedded video for this page I am doing.

<!-- begin embedded WindowsMedia file... -->
<p align="center"><OBJECT id='mediaPlayer' width="303" height="285"
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'>
<param name='fileName' value="http://www.xxxyyy.ca/intro-1.wmv">
<param name='animationatStart' value='true'>
<param name='transparentatStart' value='true'>
<param name='autoStart' value="true">
<param name='showControls' value="false">
<param name='loop' value="true">
<EMBED type='application/x-mplayer2'
pluginspage='http://microsoft.com/windows/mediaplayer/en/download/'
id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1'
bgcolor='darkblue' showcontrols="false" showtracker='-1'
showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="303" height="285"
src="http://servername/path/to/media.file" autostart="true" designtimesp='5311' loop="true">
</EMBED>
</OBJECT> </P>
<!-- ...end embedded WindowsMedia file -->

I was wanting to make it give a % loaded as it loads. How can I do this ?

The other thing I wanted to do was make it freeze on the last frame instead of repeating. i changed the "loop"=true .....to false but it just goes to a black screen and does not stay on the last frame.

Thanks for your time and help in advance.

Not sure how to do this with WM. I would guess the reason it is going black is because the first or last frame of your video is black (just a guess).

I would suggest using Flash, you will have better control. You can also do a "progressive download" so that your video will play as it is being downloaded, rather than wait for the whole video to download before it will play.

To stop on the last frame you would use a "stop" action in that frame.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.