Playing youtube videos

Topics: Windows 8 Xaml
Jul 9, 2012 at 7:06 AM

Does it support playing youtube videos.

If yes how?

Coordinator
Jul 11, 2012 at 1:39 AM

Hi dpatra, the player framework will support all video types natively supported by Windows. This means mp4 and wmv. I haven't checked Youtube lately but if it supports these types, they will work in the player framework.

Note: you can additionally create a media foundation extension (written in C++) that you can distribute with your app to play additional formats. The player framework will automatically recognize any extensions that your app registers.

There's more info on MSDN about the media foundation extension feature as well as an mpeg1 sample that you can download.

Regards,

Tim