Game Development Reference
In-Depth Information
The user agent stops fetching the media data before it is com-
pletely downloaded, but not due to an error.
abort
An error occurs while fetching the media data.
error
A media element whose networkState was previously not in
the NETWORK_EMPTY state has just switched to that state
(either because of a fatal error during load that's about to be
reported, or because the load() method was invoked while
the resource selection algorithm was already running).
emptied
The user agent is trying to fetch media data, but data is unex-
pectedly not forthcoming.
stalled
loadedmetadata The user agent has just determined the duration and dimen-
sions of the media resource and the text tracks are ready.
The user agent can render the media data at the current play-
back position for the first time.
loadeddata
The user agent can resume playback of the media data, but
estimates that if playback were to be started now, the media
resource could not be rendered at the current playback rate up
to its end without having to stop for further buffering of content.
canplay
canplaythrough The user agent estimates that if playback were to be started
now, the media resource could be rendered at the current
Search WWH ::




Custom Search