Java Reference
In-Depth Information
HTMLMediaelement
Properties
prOperty NaMe
DesCrIptION
INtrODuCeD
Reflects the autoplay attribute, and determines
where playback should automatically begin as
soon as enough media is available.
HTML5
autoplay
Gets the ranges of the media source that the
browser has buffered.
HTML5
buffered
Gets or sets the media controller associated with
the element; returns
null
if none is linked.
HTML5
controller
Gets or sets the
controls
attribute, determining
if the browser's default controls are displayed.
HTML5
controls
Gets the absolute URL of the media.
HTML5
currentSrc
The current playback time in seconds. Setting
seeks the media to the specified time.
HTML5
currentTime
Gets or sets the
muted
attribute. This does not
affect the audio after playback starts. Use the
muted
property for that.
HTML5
defaultMuted
The speed of playback.
1.0
is normal.
HTML5
defaultPlaybackRate
Gets the length of the media in seconds.
HTML5
duration
Indicates whether the media element has ended
playback.
HTML5
ended
The most recent error;
null
if no error has
occurred.
HTML5
error
Gets or sets the
loop
attribute; indicates whether
the media should start over when it reaches the
end.
HTML5
loop
Gets or sets the
mediagroup
attribute.
HTML5
mediaGroup
Mutes or unmutes the audio.
HTML5
muted
The current state of fetching the media over the
network.
HTML5
networkState
Indicates whether the media element is paused.
HTML5
paused
continues