wmv file question

D

Dave G

I have a wmv file that I have in my web page I have used the code
below to put it in it will play once thn stops I want it to continue
in a loop please couls anyone chech the code for me please and let me
know if I have got it right many thanks


<object type="video/x-ms-wmv" data="flight1.wmv" width="500"
height="330">
<param name="src" value="flight1.wmv">
<param name= "autoplay" value= "true">
<param name= "autoStart" value= "true">
alt: <a href="flight1.wmv><a/> </object>



David
 
C

cwdjrxyz

Dave said:
I have a wmv file that I have in my web page I have used the code
below to put it in it will play once thn stops I want it to continue
in a loop please couls anyone chech the code for me please and let me
know if I have got it right many thanks


<object type="video/x-ms-wmv" data="flight1.wmv" width="500"
height="330">
<param name="src" value="flight1.wmv">
<param name= "autoplay" value= "true">
<param name= "autoStart" value= "true">
alt: <a href="flight1.wmv><a/> </object>

Try adding the following parameter

<param name="PlayCount" value="3" valuetype="data" />

Change 3 to any number of plays you wish. If this does not work, I have
a different code for playing on the WMP that will work, so post back if
you find you need it.
 
D

Dave G

Thanks for your reply yes it did work please could I ask you if i want
the wmv file looped when you are viewing that web page it repeats all
the time until you navigate away from the page what would I need to do

Thanks very much for your help

David
 
C

cwdjrxyz

Dave said:
Thanks for your reply yes it did work please could I ask you if i want
the wmv file looped when you are viewing that web page it repeats all
the time until you navigate away from the page what would I need to do
I am not for sure that I understand what you want to do. If you use a
very large number for the repeats, sat 1000, that should make the video
loop as long as anyone will view the page unless your video is under 1
second long. If you want to stop the video at any time, of course there
is a control on the player to stop it. When the video is embedded in a
page, using more complex code, the video plays in a window on your
page, and when you navigate away from the page, the video also goes
away, no matter what you have told it to do.
 
D

Dave G

Thank you for your reply yes that was right i just wanted the video to
loop when the page was open or until they left the page i will change
the setting so that will now happen many thanks David
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,607
Members
45,240
Latest member
pashute

Latest Threads

Top