Properties
This section describes the properties associated with the HTML5 Audio and Video APIs.
In this section
| Topic | Description |
|---|---|
|
Returns the TextTrackCues from the currently active TextTrackList as a TextTrackCueList object. | |
|
Gets the list of source buffers that are currently providing media data. | |
|
Gets or sets the timestamp for the end of the append window. | |
|
Gets or sets the timestamp for the start of the append window. | |
|
Returns an AudioTrackList object with the audio tracks for a given video element. | |
|
Use the preload element instead. The autobuffer property was initially listed in the W3C spec, but has been dropped. No version of Internet Explorer supports it. | |
|
Gets or sets a value that indicates whether to start playing the media automatically. | |
|
Gets a collection of buffered time ranges. | |
|
Signals when a MediaKeySession object closes. | |
|
Deprecated. Gets the error code related to the MSMediaKeySession error state. | |
|
Returns the current HTMLMediaError code or null if no error has occurred. | |
|
Returns true when protected media is forced to play in a lower resolution. | |
|
Gets or sets a flag that indicates whether the client provides a set of controls for the media (in case the developer does not include controls for the player). | |
|
Returns the total number of detected corrupt video frames. | |
|
Gets the timestamp for when the VideoPlaybackQuality metrics were collected | |
|
Returns the list of text track cues as a TextTrackCueList object. | |
|
Gets the address or URL of the current media resource (video,audio) that is selected by IHTMLMediaElement. | |
|
Gets or sets the current playback position, in seconds. | |
|
Gets or sets the default timed text track to use when multiple track elements are specified for a video element. | |
|
Get or sets the current state of the muted attribute. | |
|
Gets or sets the default playback rate when the user is not using fast forward or reverse for a video or audio resource. | |
|
Deprecated. Gets the URL to send the message to. | |
|
Gets the number of dropped video frames. | |
|
Returns the duration in seconds of the current media resource. A | |
|
Gets or sets the duration in seconds for the media. | |
|
Gets or sets whether a track is enabled. | |
|
Gets information about whether the playback has ended or not. | |
|
Returns the ending time, in seconds, for a text track cue. | |
|
Returns an object representing the current error state of the audio or video element. | |
|
Deprecated. Gets the error state associated with the media key session. | |
|
The time after which the keys in the current session will expire and can no longer be used to decrypt media data, or NaN if no such time exists. | |
|
Gets or sets the height of the video element. | |
|
Returns the TextTrackCue, VideoTrack, or AudioTrack identifier. | |
|
Gets the initialization data used by the key system. | |
|
The Initialization Data Type of the Initialization Data contained in the initData attribute. | |
|
Gets the earliest possible position, in seconds, that the playback can begin. The initialTime property was initially listed in the W3C specification, but has been dropped. No new version of Internet Explorer supports it. | |
|
A reference to a read-only map of current session's key IDs and their statuses. | |
|
Gets the name of the key system used to decrypt the media data. | |
|
Describes the kind of the represented device. | |
|
Gets the type or category of the timed text track associated with a TextTrack object. | |
|
Gets or sets the type or category of the timed text track associated with a track element. | |
|
Gets or sets the label attribute to create a user readable title for an audio, video, or text track. | |
|
Gets or sets the BCP47 language tag of an AudioTrack, VideoTrack or TextTrack if available, or an empty string if not. | |
|
Returns the number of tracks in TextTrackList, VideoTrackList, TextTrackCueList, or AudioTrackList objects. | |
|
Gets the number of SourceBuffer objects contained in the list. | |
|
The number of time ranges in the collection. | |
|
Gets or sets a flag to specify whether playback should restart after it completes. | |
|
Gets or sets the intended media type of the media source. | |
|
The MediaKeys being used when decrypting encrypted media data | |
|
Gets the message from the key system. | |
|
The type of message. | |
|
Sets or gets a value that represents whether a text track is currently disabled, hidden, or showing. | |
|
Gets or sets how a sequence of media segments are handled by the SourceBuffer object. | |
|
Specifies the purpose of the audio or video media, such as background audio or alerts. | |
|
Specifies the output device id that the audio will be sent to. | |
|
Gets additional platform specific error information. | |
|
Returns an object which provides information on protected video playback. | |
|
Gets or sets whether a video element is flipped horizontally in the display. | |
|
Gets or sets when the video player control is in boxed ( letterbox or pillarbox) mode. | |
|
Indicates whether the video can be rendered more efficiently. | |
|
Determines whether the system considers the video source that is loaded to be stereo 3-D or not. | |
|
Deprecated. Gets the MSMediaKeys object, which is used for decrypting media data, that is associated with this media element. | |
|
Gets or sets whether the DLNA PlayTo device is available. | |
|
Gets or sets the path to the preferred media source. This enables the Play To target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server. | |
|
Gets or sets the primary DLNA PlayTo device. | |
|
Gets the source associated with the media element for use by the PlayToManager. | |
|
Specifies whether or not to enable low-latency playback on the media element. | |
|
Gets or sets the frame-packing mode for stereo 3-D video content. | |
|
Gets or sets whether the system display is set to stereo display (if stereo-capable). | |
|
Gets or sets whether the video frame is trimmed, on the top and bottom or left and right, to fit the video display. | |
|
Gets or sets a flag that indicates whether the audio (either audio or the audio track on video media) is muted. | |
|
Gets the current network activity for the element. | |
|
Gets a flag that specifies whether playback is paused. | |
|
Returns the pause-on-exit flag on a TextTrackCue. When the flag is true, playback will pause when it reaches the cue's endTime. | |
|
Gets the quality information about the media element currently playing. | |
|
Gets or sets the current rate of speed for the media resource to play. This speed is expressed as a multiple of the normal speed of the media resource. | |
|
Gets TimeRanges for the current media resource that has been played. | |
|
Gets or sets a URL of an image to display, for example, like a movie poster. This can be a still frame from the video, or another image if no video data is available. | |
|
Gets or sets a hint to how much buffering is advisable for a media resource, even if autoplay isn't specified. | |
|
Returns the readiness state of a TextTrack with values that let you determine whether the track is loaded, is loading, or failed to load. | |
|
Gets the current state of the MediaSource. | |
|
Gets the current state of the track resource. | |
|
Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked. | |
|
Gets a flag that indicates whether the the client is currently moving to a new playback position in the media resource. | |
|
Get or sets whether a VideoTrack is currently selected. | |
|
Returns the index of the currently selected VideoTrack. | |
|
The identification string that identifies the media key session. | |
|
The number of known keys. | |
|
Gets the source buffer associated with the audio or video track. | |
|
Gets the SourceBuffer objects that are attached to the MediaSource. | |
|
The address or URL of the a media resource (video, audio) that is to be considered. | |
|
Gets or sets the language of the text track data. This attribute is required if "subtitles" is specified in the kind attribute. | |
|
Returns the text track cue start time in seconds. | |
|
Returns an enum with the driver status when playing protected content. | |
|
Deprecated. Gets a key system specific error code for the MSMediaKeySession.error state. | |
|
Gets TextTrackCue text in un-parsed form. | |
|
Gets or sets the timestamp offset for media segments appended to the SourceBuffer. | |
|
Gets the sum of the delay for all of the displayed frames. | |
|
Gets the total number of frames which would have been rendered if there were no dropped frames. | |
|
Returns the track that is loaded by the onaddtrack event. | |
|
Returns the TextTrack object that corresponds to a track element. | |
|
Returns the TextTrack object that the TextTrackCue belongs to, or null otherwise. | |
|
Gets or sets the MIME type of a media resource. | |
|
Gets a value that specifies if appendBuffer, appendStream, or remove is in process. | |
|
Gets the intrinsic height of a video in CSS pixels, or zero if the dimensions are not known. | |
|
Returns a VideoTrackList object with the video tracks for a given video element. | |
|
Gets the intrinsic width of a video in CSS pixels, or zero if the dimensions are not known. | |
|
Gets or sets the volume level for audio portions of the media element. | |
|
Gets or sets the width of the video element. |