| Author |
Message |
jww
Guest
|
Posted:
Wed Oct 06, 2004 9:24 pm Post subject:
looping videos |
|
|
I am implementing a video player in a windows forms application with c# and
the windows media player ActiveX control. I have looked through the
documentation for the object model, but I can't seem to find a way to tell a
move clip to play and automatically loop at the end when finished. Anyone
know how to do this?
|
|
| Back to top |
|
 |
Neil Smith [MVP Digital M
Guest
|
Posted:
Wed Oct 06, 2004 10:36 pm Post subject:
Re: looping videos |
|
|
If you can pass the media player an ASX file (playlist) then there's
an element in there you can use : The SDK says
"The REPEAT element defines the number of times Windows Media Player
repeats one or more ENTRY or ENTRYREF elements."
<ENTRY REF="href">
<REPEAT COUNT = "integer">
</REPEAT>
</ENTRY>
If you set the COUNT value to zero, it will repeat indefinitely.
Cheers - Neil
On Wed, 6 Oct 2004 12:24:17 -0500, "jww" <jww@jww.com> wrote:
| Quote: | I am implementing a video player in a windows forms application with c# and
the windows media player ActiveX control. I have looked through the
documentation for the object model, but I can't seem to find a way to tell a
move clip to play and automatically loop at the end when finished. Anyone
know how to do this?
|
|
|
| Back to top |
|
 |
jww
Guest
|
Posted:
Wed Oct 06, 2004 11:51 pm Post subject:
Re: looping videos |
|
|
Thank you!
"Neil Smith [MVP Digital Media]" <neil@nospam.com> wrote in message
news:5kf8m09fnq114bhflno99212opujc20r06@4ax.com...
| Quote: | If you can pass the media player an ASX file (playlist) then there's
an element in there you can use : The SDK says
"The REPEAT element defines the number of times Windows Media Player
repeats one or more ENTRY or ENTRYREF elements."
ENTRY REF="href"
REPEAT COUNT = "integer"
/REPEAT
/ENTRY
If you set the COUNT value to zero, it will repeat indefinitely.
Cheers - Neil
On Wed, 6 Oct 2004 12:24:17 -0500, "jww" <jww@jww.com> wrote:
I am implementing a video player in a windows forms application with c#
and
the windows media player ActiveX control. I have looked through the
documentation for the object model, but I can't seem to find a way to tell
a
move clip to play and automatically loop at the end when finished. Anyone
know how to do this?
|
|
|
| Back to top |
|
 |
|
|
|
|