HTML DOM Video networkState property
Examples
To obtain a video of the current network status:
var x = document.getElementById ( "myVideo") networkState.;
x The output is:
1 // video is valid and has been selected resources, do not use the network
try it"
Definition and Usage
networkState property return to the audio / video of the current network status.
Browser Support
All major browsers support networkState property
Note: Internet Explorer 8 and earlier versions of IE does not support this property.
grammar
videoObject .networkState
return value
Types of | description |
---|---|
Numeric values | It represents the current network status audio / video elements:
|
Video Object