Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

19.1. PLAYING VIDEOS

In Lesson 14 you learned how to use the MediaPlayerLauncher to play videos using the Windows Media Player. When you use the Windows Media Player to play a video, you are launching the player and deactivating your application while the player plays the video. To play the video without deactivating your application, you can add a MediaElement control to your page and play the video within the MediaElement control. MediaElement supports playing videos from a remote server as well as playing videos located on the phone.

19.1.1. Adding and Configuring the MediaElement Control

To add a MediaElement control to a page, drag the MediaElement icon from the Toolbox onto the page:


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint