Mar 2, 2006 #1 rrajarat MIS Oct 8, 2002 42 US This may be very simple but I can't seem to figure this out. How do I loop/repeat a video in WMP 9 until the user hits stop or changes the video?
This may be very simple but I can't seem to figure this out. How do I loop/repeat a video in WMP 9 until the user hits stop or changes the video?
Mar 2, 2006 #2 StuckInTheMiddle Programmer Mar 3, 2002 269 US Are you programmatically controlling WMP9 through VBA? A, Upvote 0 Downvote
Mar 7, 2006 Thread starter #3 rrajarat MIS Oct 8, 2002 42 US I am using the media player control in vb6 Upvote 0 Downvote
Mar 7, 2006 #4 Hypetia Programmer Feb 26, 2003 1,279 US See the property: [tt]WindowsMediaPlayer1.settings.playCount[/tt] There is no option for infinite looping but you can set the repeat count to a very large value creating a practically endless loop. Upvote 0 Downvote
See the property: [tt]WindowsMediaPlayer1.settings.playCount[/tt] There is no option for infinite looping but you can set the repeat count to a very large value creating a practically endless loop.
Mar 8, 2006 #5 Error7 Programmer Jul 5, 2002 656 GB You can detect the EndOfStream and then trigger Play again. [gray]Experience is something you don't get until just after you need it.[/gray] Upvote 0 Downvote
You can detect the EndOfStream and then trigger Play again. [gray]Experience is something you don't get until just after you need it.[/gray]
Mar 9, 2006 Thread starter #6 rrajarat MIS Oct 8, 2002 42 US Thanks Hypetia, I thought of your idea but was hoping for an infinite loop. Upvote 0 Downvote
Mar 10, 2006 #7 kodr Programmer Dec 4, 2003 368 Sure you can so an infinite loop... Build a loop that waits for an event to occur, something like: Do While ButtonNotPressed 'Your code to play video here. Loop Upvote 0 Downvote
Sure you can so an infinite loop... Build a loop that waits for an event to occur, something like: Do While ButtonNotPressed 'Your code to play video here. Loop