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

This forum is about all development around libVLC.
hailang525
New Cone
New Cone
Posts: 8
Joined: 15 Oct 2008 03:39

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

Postby hailang525 » 24 Nov 2008 03:21

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.

innerspace
Blank Cone
Blank Cone
Posts: 28
Joined: 10 Aug 2008 22:47
VLC version: 0.8.6
Operating System: Windows / OsX
Location: Thailand & England

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

Postby innerspace » 24 Nov 2008 09:25

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.

BexX
Blank Cone
Blank Cone
Posts: 18
Joined: 16 Jul 2008 00:26

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

Postby BexX » 24 Nov 2008 16:55

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.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 20 guests