Playing and previewing audio and video (Windows Store apps using C#/VB/C++ and XAML)

Language: JavaScript and HTML | VB/C#/C++ and XAML
This topic has not yet been rated - Rate this topic

This section contains topics on playing audio and video in your Windows Store app built for Windows using C++, C#, or Visual Basic.

It covers how to play audio and video using the MediaElement class, share or stream media with Play To, and use effects and custom media extensions.

For samples that use audio and video in a Windows Store app using C++, C#, or Visual Basic, see the XAML media playback sample and the other samples listed in the Samples section in the Related topics below.

In this section

TopicDescription

Quickstart: video and audio

This topic describes how to integrate media into your Windows Store app using C++, C#, or Visual Basic applications.

Quickstart: create a media player application

This Quickstart explains how to create a basic media player app by using the MediaElement API. It shows you how to create basic transport controls, enable full-screen video playback, set up a slider control and connect it to the media position, and enable support for multiple audio tracks.

How to play a local media file using a MediaElement

The MediaElement control can play local media files and media files on the network.

How to select audio tracks in different languages

You can use MediaElement.AudioStreamIndex and MediaElement.GetAudioStreamLanguage to switch between multiple language audio tracks on a media file.

How to enable low-latency playback

Setting the RealTimePlayback property on a MediaElement enables low-latency playback.

How to keep the display on during audio/video playback

Learn how to keep the display on while playing back local or streaming video.

How to play audio in the background

This tutorial shows you how to select the correct category for an audio-video (AV) stream to configure it to play in the background.

Streaming media to devices using Play To

Play To enables users to easily stream audio, video, or images from their computer to networked devices.

 

Related topics

Roadmaps
Roadmap for Windows Store apps using C# and Visual Basic
Roadmap for Windows Store apps using C++
Designing UX for apps
Samples
XAML media playback sample
Transcoding media sample
Media extension sample
Media Play To sample
PlayToReceiver sample
Playback manager sample
Reference
MediaElement
Windows.Media
Windows.Media.PlayTo
Windows.Media.Protection
Other resources
Supported audio and video formats
Optimize media resources

 

 

Build date: 11/29/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.