This section contains topics on playing audio and video in your Windows Store app built for Windows using JavaScript.
It covers how to play audio and video using the HTML5 audio and video tags, 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 JavaScript, see the HTML media playback sample and the other samples listed in the Samples section in the Related topics below.
In this section
| Topic | Description |
|---|---|
|
This topic shows how use the HTML5 Video element to play a video in a Windows Store app using JavaScript. | |
|
You can enable Digital Rights Management (DRM) protected content in your Windows Store app using JavaScript by using the MediaProtectionManager. | |
|
Windows Store apps can enable playback of DRM protected media content by using the MediaProtectionManager. The MediaError interface is extended to include an msExtendedCode attribute so developers can get feedback during implementation. | |
|
You can adjust various settings on the camera or microphone, such as brightness, contrast, focus (on the camera) or volume (on the microphone). | |
|
This topic shows how to enable video and audio effects through the Windows 8 media plugin model. | |
|
Setting the msRealTime attribute on a media element enables low-latency playback. | |
|
This topic shows how to enable stereo video playback by setting the msStereo3DRenderMode attribute. | |
|
Windows Runtime introduces several optimizations when using the HTML5 video element. | |
|
This topic shows how to play an audio or video file that is on the user's computer. | |
|
This topic describes a way of ensuring smooth transitions between video or audio clips by having at least two media elements and alternating between them. | |
|
You can use the audioTracks property to switch between multiple audio tracks on a media file. | |
|
This topic describes how to select an audio output device on the audio tag. | |
|
The msZoom property can be used to zoom into a video to remove the letterbox or pillarbox from the rendered video. | |
|
Learn how to keep the display on while playing back local or streaming video. | |
|
This tutorial shows you how to select the correct category for an audio-video (AV) stream to configure it to play in the background. | |
|
You can use the msHorizontalMirror attribute to flip video horizontally. | |
|
This topic describes what media extensions are and how to use them in your Windows Store app using JavaScript. | |
|
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 JavaScript
- Designing UX for apps
- Samples
- HTML media playback sample
- Transcoding Media Sample
- Media Extension Sample
- Media Play To sample
- PlayToReceiver sample
- Playback manager sample
- Reference
- Windows.Media
- Windows.Media.PlayTo
- Windows.Media.Protection
- HTML5 Audio and Video
- Other resources
- Supported audio and video formats
- Audio and video performance
Build date: 11/29/2012