O'Reilly logo

XAML Unleashed by Adam Nathan

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

Using MediaElement as a Media Player

So far, everything you’ve read about MediaElement is great for audio and noninteractive video, such as a fancy extended splash screen, a looping animated background, a cutscene between levels of a game, or perhaps video-based storybook. However, most apps want to show interactive video in a player that enables the user to pause, stop, skip ahead, and so on.

With all of MediaElement’s methods, properties, and events already discussed, you could certainly build your own media player user interface. But doing this well is a lot of work! Fortunately, for Windows Store and universal apps, MediaElement supports an interactive media player mode. All you need to do is set its AreTransportControlsEnabled property to ...

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