How to play YouTube videos
Posted: 29 Mar 2016 18:20
Hi there,
I have got everything setup in my WPF application, however I cannot figure out how to play Youtube videos.
When I run the application I can see only a black screen.
What is required in order to play youtube links?
I have got everything setup in my WPF application, however I cannot figure out how to play Youtube videos.
When I run the application I can see only a black screen.
Code: Select all
VideoPlayer.MediaPlayer.Play(new Uri(youtubeUrl));