0

I'm trying to play YouTube streams in my WPF program using WPF MediaKit's MediaUriElement. I've noticed that the url should be something like this:

Source="http://www.youtube.com/watch?v=OyNqNJUAuh4&hd=1?ext=.3gpp"

So I extract the extension from the YouTubeInfo and construct such a string.

However the MediaUriElement doesn't cooparate with that... (I have the K-Lite Codec Pack installed)

Does someone know how it can be done?

Idan

xmedeko
  • 7,336
  • 6
  • 55
  • 85
Idan
  • 23
  • 1
  • 6

1 Answers1

0

WPF-MediaKit itself cannot play any media, it's the problem of the codecs used. E.g. can MPC-HC player (bundled with the K-Lite codecs) play that URL/file? If not, then the WPF-MediaKit cannot play it, too.

xmedeko
  • 7,336
  • 6
  • 55
  • 85