Export (0) Print
Expand All

networkState property

Gets the current network activity for the element.

HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.8.9.4Internet Explorer 9

 

Syntax

JavaScript

networkstate = object.networkState

 

Property values

Type: number

NETWORK_EMPTY (0)

The element has not yet been initialized. All attributes are in their initial states.

NETWORK_IDLE (1)

A resource is selected, but the network is not actively being used.

NETWORK_LOADING (2)

The browser is attempting to download data.

NETWORK_NO_SOURCE (3)

No media resource could be found.

Standards information

See also

audio element
audio object
media
video element
video object

 

 

Show:
© 2014 Microsoft