HTML and CSS Reference
In-Depth Information
Table 4.1 provides a reference list of media attributes and events.
TABLE 4.1 Media Attributes and Events
ATTRIBUTES
METHODS
load()
error state
error
canPlayType(type)
play()
network state
src
pause()
currentSrc
addTrack(label, kind, language)
networkState
preload
events
buffered
loadstart
progress
ready state
readyState
suspend
seeking
abort
error
controls
controls
emptied
volume
stalled
muted
play
pause
tracks
tracks
loadedmetadata
loadeddata
playback state
currentTime
waiting
startTime
playing
duration
canplay
paused
canplaythrough
defaultPlaybackRate
seeking
playbackRate
seeked
played
timeupdate
seekable
ended
ended
ratechange
autoplay
loop
video specifi c
width
height
videoWidth
videoHeight
poster
 
Search WWH ::




Custom Search