Presents audio or video data to the user. The media element provides the audio and video objects which are used to play sound and video content.
The media object has these events.
The media object has these methods.
The media object has these properties.
Property Description audioTracks Returns an AudioTrackList object with the audio tracks for a given video element. autobuffer The autobuffer element is not supported by Internet Explorer 9. Use the preload element instead.This property is not supported for Metro style apps using JavaScript
autoplay Gets or sets a value that indicates whether to start playing the media automatically. buffered Gets a collection of buffered time ranges. controls 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). currentSrc Gets the address or URL of the current media resource (video,audio) that is selected by IHTMLMediaElement. currentTime Gets or sets the current playback position, in seconds. defaultPlaybackRate Gets or sets the default playback rate when the user is not using fast foward or reverse for a video or audio resource. duration Gets the duration, in seconds, of the current media resource, aNaN
value if duration is not available, or Infinity
if the media resource is streaming. ended Gets information about whether the playback has ended or not. error Gets an IHTMLMediaError object representing the current error state of the media element. initialTime Gets the earliest possible position, in seconds, that the playback can begin. localName Retrieves the local name of the fully qualified XML declaration for a node. loop Gets or sets a flag that specifies whether playback should restart after it completes. msAudioCategory Specifies the purpose of the audio or video media, such as background audio or alerts. msAudioDeviceType Specifies the output device id that the audio will be sent to. msPlayToDisabled Gets or sets whether the DLNA PlayTo device is available. msPlayToPrimary Gets or sets the primary DLNA PlayTo device. msPlayToSource Gets the source associated with the media element for use by the PlayToManager. msRealTime Specifies whether or not to enable low-latency playback on the media element. muted Gets or sets a flag that indicates whether the audio (either audio or the audio track on video media) is muted. namespaceURI Retrieves the namespace URI of the fully qualified XML declaration for a node. networkState Gets the current network activity for the element. paused Gets a flag that specifies whether playback is paused. playbackRate Gets or sets the current speed for the media resource to play. This speed is expressed as a multiple of the normal speed of the media resource. played Gets TimeRanges for the current media resource that has been played. prefix Retrieves the local name of the fully qualified XML declaration for a node. preload Gets or sets a hint to how much buffering is advisable for a media resource, even if autoplay is not specified. seekable Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked. seeking Gets a flag that indicates whether the the client is currently moving to a new playback position in the media resource. src The address or URL of the a media resource (video, audio) that is to be considered. textContent Sets or retrieves the text content of an object and any child objects. volume Gets or sets the volume level for audio portions of the media element.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4