looping videos
WMPTalk.com Forum Index WMPTalk.com
Discuss Windows Media Player
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web wmptalk.com
looping videos

 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> SDK
Author Message
jww
Guest





Posted: Wed Oct 06, 2004 9:24 pm    Post subject: looping videos Reply with 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
Neil Smith [MVP Digital M
Guest





Posted: Wed Oct 06, 2004 10:36 pm    Post subject: Re: looping videos Reply with 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:

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 Reply with quote

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
 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> SDK All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Microsoft Office Forum New Topics
Powered by phpBB