Page 1 of 1

VB.NET - Active X VLC Plugin Issues

Posted: 20 Apr 2016 20:29
by ShinyMK
Im using a very basic ActiveX VLC Plugin. I installed VLC and then added VLC into VB.NET by going into COM Components.

So I use it to load livestreams and it works "fine". But not great. The reason im saying this is because I load a .m3u8 file and whenever it lags/buffers/freezes/pauses e.t.c it will play again fine as I have it to "AutoLoop = true" but when it then fixes itself and continues playing it wont go Fullscreen by double clicking the Video Window and if I went into Fullscreen before it froze I would be Stuck in fullscreen and would need to ALT+F4 or ALT+TAB out and close the App.

Is there any way past this and has anyone ever encountered this issue either? If anyone needs to try this to see what I mean or has a hard time understanding what I mean just let me know.

- ALSO -

How can I disable the controls when inside fullscreen? I set the Window Mode from "full" to "none" and it hid the controls when not in fullscreen but it still shows when in fullscreen. How can I hide it?

Re: VB.NET - Active X VLC Plugin Issues

Posted: 21 Apr 2016 08:39
by da2424
The UI problem is a known bug since v2.2.2: https://trac.videolan.org/vlc/ticket/14660
Currently, you can't disable the controls in fullscreen mode.

Re: VB.NET - Active X VLC Plugin Issues

Posted: 21 Apr 2016 22:24
by ShinyMK
The UI problem is a known bug since v2.2.2: https://trac.videolan.org/vlc/ticket/14660
Currently, you can't disable the controls in fullscreen mode.
Know the last best version where this didnt happen?

Re: VB.NET - Active X VLC Plugin Issues

Posted: 22 Apr 2016 08:44
by da2424
Know the last best version where this didnt happen?
The UI works fine in version v2.2.1.
Btw, the ESC key to exit the fullscreen mode should also work fine in v2.2.2.

Another question: Why do you want to disable the controls in fullscreen mode?

Re: VB.NET - Active X VLC Plugin Issues

Posted: 22 Apr 2016 09:13
by ShinyMK
Know the last best version where this didnt happen?
The UI works fine in version v2.2.1.
Btw, the ESC key to exit the fullscreen mode should also work fine in v2.2.2.

Another question: Why do you want to disable the controls in fullscreen mode?
How do I install v2.2.1 ActiveX VLC?
I want to disable the controls because my app is only to watch Streams making the pause, timebar and volume unnecessary for obvious reasons but the volume bar is unnecessary cause i already made an external one.

Re: VB.NET - Active X VLC Plugin Issues

Posted: 22 Apr 2016 12:11
by da2424
How do I install v2.2.1 ActiveX VLC?
You can get it here: http://get.videolan.org/vlc/2.2.1/win32 ... -win32.exe

I want to disable the controls because my app is only to watch Streams making the pause, timebar and volume unnecessary for obvious reasons but the volume bar is unnecessary cause i already made an external one.
In other words, you have created an overlay with VB.NET?

Re: VB.NET - Active X VLC Plugin Issues

Posted: 23 Apr 2016 08:10
by ShinyMK
How do I install v2.2.1 ActiveX VLC?
You can get it here: http://get.videolan.org/vlc/2.2.1/win32 ... -win32.exe

I want to disable the controls because my app is only to watch Streams making the pause, timebar and volume unnecessary for obvious reasons but the volume bar is unnecessary cause i already made an external one.
In other words, you have created an overlay with VB.NET?
Basically yes. Btw that is VLC for 32bit but what about 64bit users, If I use this ActiveX VLC as 32bit would there be issue with 64bit users when they open the app? Also if they dont have VLC installed will that cause a problem?

Re: VB.NET - Active X VLC Plugin Issues

Posted: 23 Apr 2016 09:20
by ShinyMK
I installed 2.2.1 and tried "Choose Items" > VLC Active X v2 > Drag and Drop but its just saying it failed to import any idea why?

Re: VB.NET - Active X VLC Plugin Issues

Posted: 23 Apr 2016 10:43
by ShinyMK
Hmm googled a bit seems to be a known issue with 2.2.1 any ways around it?

Re: VB.NET - Active X VLC Plugin Issues

Posted: 23 Apr 2016 15:27
by da2424
I want to disable the controls because my app is only to watch Streams making the pause, timebar and volume unnecessary for obvious reasons but the volume bar is unnecessary cause i already made an external one.
In other words, you have created an overlay with VB.NET?
Basically yes.
I didn't know that this is possible...
Btw that is VLC for 32bit but what about 64bit users, If I use this ActiveX VLC as 32bit would there be issue with 64bit users when they open the app? Also if they dont have VLC installed will that cause a problem?
If they have VLC 32Bit installed and your app is compiled for 32Bit too, then there are no problems. But you're right, if VLC 64Bit is installed, then it will not work.
You can support that, if you install VLC 32Bit and 64Bit at the same time on your Visual Studio PC, and compile for AnyCPU. (If VLC 32Bit is added to your project, the 64Bit plugin will be used automatically)
I installed 2.2.1 and tried "Choose Items" > VLC Active X v2 > Drag and Drop but its just saying it failed to import any idea why?
That's true, I forgot it. Cause is a naming conflict. You could try v2.2.0.

Re: VB.NET - Active X VLC Plugin Issues

Posted: 23 Apr 2016 22:09
by ShinyMK
I want to disable the controls because my app is only to watch Streams making the pause, timebar and volume unnecessary for obvious reasons but the volume bar is unnecessary cause i already made an external one.
In other words, you have created an overlay with VB.NET?
Basically yes.
I didn't know that this is possible...
Btw that is VLC for 32bit but what about 64bit users, If I use this ActiveX VLC as 32bit would there be issue with 64bit users when they open the app? Also if they dont have VLC installed will that cause a problem?
If they have VLC 32Bit installed and your app is compiled for 32Bit too, then there are no problems. But you're right, if VLC 64Bit is installed, then it will not work.
You can support that, if you install VLC 32Bit and 64Bit at the same time on your Visual Studio PC, and compile for AnyCPU. (If VLC 32Bit is added to your project, the 64Bit plugin will be used automatically)
I installed 2.2.1 and tried "Choose Items" > VLC Active X v2 > Drag and Drop but its just saying it failed to import any idea why?
That's true, I forgot it. Cause is a naming conflict. You could try v2.2.0.
Yo I uninstalled VLC to test if my app would still work but no now I get errors to do with VLC Interops, It seems that if the user doesnt have VLC installed then my app will just spit out errors. Any fix?

Re: VB.NET - Active X VLC Plugin Issues

Posted: 23 Apr 2016 22:21
by ShinyMK
Also it doesnt seem to work for 2.2.0 either same issue when drag and dropping.

Re: VB.NET - Active X VLC Plugin Issues

Posted: 03 Jun 2016 21:24
by da2424
Yes, your'e right, the naming conflict is also in v2.2.0.
But the earlier versions have also various problems, I hope the cause of the UI problem will be fixed soon.