Page 1 of 1

How to keep the playing screen in VLC API in C#

Posted: 24 Nov 2008 03:21
by hailang525
Hello, everyone.

when I used the VLC API AXVLC methd play() in C# program to play a video, and then it will show a video screen,right? After finishing play, the play screen will automatically shut down. if it was set autoloop and. each video will opne a new screen when it playing. My question is how keep the screen and do not make it shut down? Or made every video play in the same screen? Or is there any method that can erase the gap time between a close screen and a new open screen, just make it look like continues.

Thank you so much.

Re: How to keep the playing screen in VLC API in C#

Posted: 24 Nov 2008 09:25
by innerspace
Which VLC version and c# wrapper are you using?

With VLanControl wrapper for 0.8.6 you can simply use AddToPlayList() and each playlist item will start automatically when the last one finishes.

I seem to remember that this feature was missing from at least 1 of the 0.9.0 wrappers (Marx or Interop im not sure) and was part of the reason that I'm yet to upgrade.

Re: How to keep the playing screen in VLC API in C#

Posted: 24 Nov 2008 16:55
by BexX
set video parent ist your friend! :)

take a look at:
http://www.syairin.com/SimplePlayer.7z
or the sample code from here
http://meedios.svn.sourceforge.net/view ... n%200.9.0/

If you are using an other c# wrapper, there should be something similar.