Windows Phone 7 and MP4

I installed all the necessary tools and I wrote a simple YouTube downloader for WP7. The problem is that I played .. I tried several mp4 formats (listed here http://en.wikipedia.org/wiki/YouTube#Quality_and_codecs ) with this code:

    new MediaPlayerLauncher() {
        Media = new Uri("http://localhost/asd.mp4"),
        Controls = MediaPlaybackControls.All
    }.Show();

But each time he says "Playback error." I read the support page for the WP7 codec ( http://msdn.microsoft.com/en-us/library/ff462087%28VS.92%29.aspx ) and has several supported mp4 + aac.

Question 1: Can WP7 run YouTube videos (formats from the first URL)?

Question 2: Will Microsoft Accept My Marketplace Application?

+3
source share
1 answer

Yes, it will play mp4 (there is a youtube application on the market), but the emulator will only play wmv files. You should check other formats on the device. I don’t know if your application will be certified ... check the certification requirements (PDF) for specific video conferencing.

+2
source

Source: https://habr.com/ru/post/1773528/


All Articles