I installed all the needed tools and I wrote a simple YouTube downloader for WP7. The problem is with playing.. I tried several mp4 formats (listed here http://en.wikipedia.org/wiki/YouTube#Quality_and_codecs) with that code:
new MediaPlayerLauncher() {
Media = new Uri("http://localhost/asd.mp4"),
Controls = MediaPlaybackControls.All
}.Show();
But every time it says "Playback error". I've read the WP7 codec support page (http://msdn.microsoft.com/en-us/library/ff462087%28VS.92%29.aspx) and it has multiple mp4+aac supports.
Question 1: Can WP7 run YouTube videos (formats from the first url)?
Question 2: Will Microsoft accept my app for the Marketplace?