C# disable full screen and hide toolbar are not working in the new version

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
lebhero
New Cone
New Cone
Posts: 2
Joined: 08 May 2015 17:43

C# disable full screen and hide toolbar are not working in the new version

Postby lebhero » 08 May 2015 17:57

Hi,

i have a C# application where i use the VLC plugin to view Video that is being streamed over the UDP.
my code looks like this:

Code: Select all

using AxAXVLC; ... private AxVLCPlugin2 vlc; this.vlc = new AxVLCPlugin2(); this.vlc.FullscreenEnabled = false; this.vlc.Toolbar = false; this.vlc.Volume = 50; this.VolumeSlider.Value = this.vlc.Volume;
this was working with the version 2.1.5 ..
but i started vlc once and it asked for an update to version 2.2.1 (latest version)
and since my application is not running anymore
it stops by this.vlc.FullScreenEnabled = false;
or if i delete it then it stops with the same error message by
this.vlc.Toolbar = false;
or
this.vlc.Volume = 50;
and says:

A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in AxInterop.AXVLC.dll
Additional information: Unknown error.

i dont know how i can keep using my code without having to get a problem when each time a new version of vlc comes out ?

any suggestions on how to fix this ?

Also,

i tried the vlc.DotNet examples.
In the wpf example

Code: Select all

private void OnPlayButtonClick(object sender, RoutedEventArgs e) { myControl.MediaPlayer.Play(new Uri("http://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_surround-fix.avi")); //myControl.MediaPlayer.Play(new FileInfo(@"..\..\..\Vlc.DotNet\Samples\Videos\BBB trailer.mov")); }
is there a way to play incoming video data on udp server?
udp://@:1234

Thanks in advance

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: C# disable full screen and hide toolbar are not working in the new version

Postby Jean-Baptiste Kempf » 09 May 2015 11:43

You should file a bugreport and share a sample application.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

lebhero
New Cone
New Cone
Posts: 2
Joined: 08 May 2015 17:43

Re: C# disable full screen and hide toolbar are not working in the new version

Postby lebhero » 06 Jul 2015 15:20

Dear Jean-Baptiste Kempf,

Sorry for being late.
I created a sample project.
The sample will work if you have version 2.1.5 installed on your pc.
It won`t work with the newest version (2.2.1).

Please download it here: http://www.filedropper.com/vlctestapplication

(Sorry i didnt know where to upload the sample application...)

thanks in advance

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: C# disable full screen and hide toolbar are not working in the new version

Postby Jean-Baptiste Kempf » 16 Jul 2015 18:11

Link does not work.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 140 guests