Objects

This section describes the objects associated with the HTML5 Audio and Video APIs.

Note  If you are developing locally or on an intranet and have rendering issues for HTML5, you can add a "meta http-equiv-'X-UA-Compatible' content= " meta command, followed by "IE=edge" to the <head> block of a webpage to force Windows Internet Explorer to use the latest standards. For more information about document compatibility, see Defining Document Compatibility.
 

In this section

TopicDescription

audio

Specifies the sound or audio content, such as music or effects, to be played in a document.

AudioTrack

Represents an audio track on a video element.

AudioTrackList

Represents a list of AudioTrack objects.

HTMLTimeRanges

Stores a collection of ranges (periods) of time.

MediaEncryptedEvent

Provides event properties that are specific to the key encrypted event.

MediaError

Contains the current media error.

MediaSource

Represents a source of media data (audio or video) for a media element.

MSGraphicsTrust

Returns an object that provides properties for info on protected video playback.

MSMediaKeyError

Deprecated. Provides information for the error state associated with the MSMediaKeySession.

MediaKeyMessageEvent

Provides event properties that are specific to the key message event.

MSMediaKeyNeededEvent

Deprecated. Provides event properties that are specific to the onmsneedkey event.

MediaKeys

A set of keys that an associated HTMLMediaElement can use for decryption of media data during playback.

MediaKeySession

Represents a session with the Digital Rights Management (DRM) key system.

MediaKeyStatusMap

A read-only map of Key IDs to the current status of the associated key.

MediaKeySystemAccess

Provides access to a Key System.

SourceBuffer

Represents a buffer that contains media data for a MediaSource object.

SourceBufferList

Represents a collection of SourceBuffer objects.

TextTrack

The object that represents the timed text track content of a track element.

TextTrackCue

The TextTrackCue object represents the individual cues, and provides methods and properties to access the data and events to act on changes to cue state.

TextTrackCueList

TextTrackCueList represents a dynamically updating list of text track cues.

TextTrackList

Represents a list of TextTrack objects.

track

The track element enables you to add timed text tracks, such as closed captioning, translations, or text commentary, to HTML5 video elements.

TrackEvent

Object returned from the onaddtrack event that represents the track that was loaded.

video

Specifies the video content to be played in a document.

VideoPlaybackQuality

Provides information about the quality for the video currently playing.

VideoTrack

Represents a video track for video elements with multiple tracks.

VideoTrackList

Represents a list of VideoTrack objects.

 

 

 

Show: