Page 1 of 1

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

Posted: 08 May 2015 17:57
by lebhero
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

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

Posted: 09 May 2015 11:43
by Jean-Baptiste Kempf
You should file a bugreport and share a sample application.

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

Posted: 06 Jul 2015 15:20
by lebhero
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

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

Posted: 16 Jul 2015 18:11
by Jean-Baptiste Kempf
Link does not work.