Meta.Vlc
Meta.Vlc copied to clipboard
How to initialize wpf vlc player in codeback?
Hi,
I was wondering if it's possible to initialize the wpf element's player separately in C# code. Currently, the wpf element initializes the player when InitializeComponent() is called. I'd like to set the player manually to the wpf element.
I can always use ThreadedImageControl element and control the player separately that way but I'd like to know if it's possible to do with wpf player element. Or are ThreadedImageControl and VlcPlayer doing the same thing under the hood?
Thank you in advance.
ThreadedImageControl is useful for a complex UI with player, when main UI thread is stuck. Now even the main UI thread is stuck, the display will play go on. You can found some issues with it. If you want playback video with other control, check this wiki Use VlcPlayer with other controls