Instance Property

defaultPlaybackRate

The default rate used to play the media resource.

Declaration

attribute unrestricted double defaultPlaybackRate;

Discussion

The value of this property is a multiple of the media resource’s intrinsic speed. The default value is 1.0.

See Also

Getting and Setting Properties

autoplay

A Boolean value that determines whether the media resource plays automatically when available.

controls

A Boolean value that determines whether the playback controls appear.

currentTime

The current playback position in seconds.

loop

A Boolean value that determines whether the playback should loop.

muted

A Boolean value that determines whether the audio content should be muted.

playbackRate

The speed that the media resource is playing.

preload

A DOMString value that gives a hint to the browser how much of the media should be fetched when the webpage is loaded.

src

The URI address of the media resource to play.

volume

The volume of the audio portion of the media element.