O'Reilly logo

Windows Phone 8 in Action by Tim Binkley-Jones, Adam Benoit, Massimo Perga, Michael Sync

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 15. Building a media player

This chapter covers

  • Using the MediaPlayerLauncher
  • Building a media player
  • Working with local and web media

One of the more popular uses for a mobile phone is as a media player. Developers have a variety of different options when building applications that play media. In chapter 9 we showed you how to integrate with the Music + Videos Hub and to make use of the XNA Framework and the BackgroundAudioPlayer to play audio. In this chapter we look at the MediaPlayerLauncher and the XAML MediaElement control that can be used to play both audio and video from inside an application.

Both of these media players can play media files that are in the install or local storage folders and download and play media files ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required