Video networkState attribute
Definition and usage
networkState
The property returns the current network state (active) of the video.
Instance
Get the current network state of the video:
var x = document.getElementById("myVideo").networkState;
Syntax
videoObject.networkState
Return value
Type | Description |
---|---|
Number |
Represents the current network state of the video element:
|
Browser Support
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Support | 9.0 | Support | Support | Support |