Udostępnij za pośrednictwem


Adding multimedia (HTML)

[This article is for Windows 8.x and Windows Phone 8.x developers writing Windows Runtime apps. If you’re developing for Windows 10, see the latest documentation]

Purpose

This section contains information on how to use audio and video in your Windows Runtime app using JavaScript.

It covers how to capture multimedia, play audio and video, process image files, share or stream media with Play To, and transcode multimedia.

For performance guidance on using audio and video in Windows Runtime apps using JavaScript, see Audio and video performance.

For samples that demonstrate using audio and video in a Windows Runtime apps using JavaScript, see the Samples section in the Related topics below.

In this section

Topic Description

Capturing or rendering audio, video, and images

This section contains information on how to capture photos and videos from a capture device, such as a built-in camera or connected webcam, and how to render audio streams in a Windows Runtime app using JavaScript.

Playing and previewing audio and video

This section contains topics on playing audio and video in your Windows Runtime app using JavaScript.

Processing image files

The Windows.Graphics.Imaging namespace lets you decode images and then edit the pixels and metadata. Then you can encode the result in various formats.

Transcoding

This section describes how to use the Windows.Media.Transcoding API to transcode audio and video files in your Windows Runtime app using JavaScript.

Supported audio and video formats

This section lists the audio and video formats that are supported in Windows Store apps using JavaScript and Windows Store apps using C++, C#, or Visual Basic.

 

Roadmaps

Roadmap for Windows Store apps using JavaScript

Designing UX for apps

Samples

HTML media playback sample

Transcoding media sample

Media capture sample

Camera capture UI sample

Camera options UI sample

Device enumeration sample

Media extension sample

Real-Time communication sample

Media Play To sample

PlayToReceiver sample

Playback manager sample

Effects discovery sample

MediaStreamSource streaming sample

System media transport controls sample

Reference

Windows.Media

Windows.Media.Capture

Windows.Media.Devices

Windows.Media.MediaProperties

Windows.Media.Playlists

Windows.Media.PlayTo

Windows.Media.Protection

Windows.Media.Transcoding

HTML5 Audio and Video

Windows.Graphics.Imaging

Other resources

Supported audio and video formats

Audio and video performance

Using content ratings