Page 1 of 1

How to play YouTube videos

Posted: 29 Mar 2016 18:20
by adrian-hiddenltd
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.

Code: Select all

VideoPlayer.MediaPlayer.Play(new Uri(youtubeUrl));
What is required in order to play youtube links?

Re: How to play YouTube videos

Posted: 30 Mar 2016 09:13
by higan
Maybe this issue will help you (#77).

Re: How to play YouTube videos

Posted: 30 Mar 2016 13:33
by adrian-hiddenltd
Solved! Thank you very much. I needed YouTubeExtractor