Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to initialize wpf vlc player in codeback? #248

Open
Rust76 opened this issue Oct 2, 2017 · 1 comment
Open

How to initialize wpf vlc player in codeback? #248

Rust76 opened this issue Oct 2, 2017 · 1 comment

Comments

@Rust76
Copy link

Rust76 commented Oct 2, 2017

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.

@devkanro
Copy link
Owner

devkanro commented Dec 7, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants