Video networkState Property
Example
Get the current network state of the video:
var x = document.getElementById("myVideo").networkState;
Try it Yourself »
Definition and Usage
The networkState property returns the current network state (activity) of the video.
Browser Support
| Property | |||||
|---|---|---|---|---|---|
| networkState | Yes | 9.0 | Yes | Yes | Yes |
Syntax
videoObject.networkState
Return Value
| Type | Description |
|---|---|
| Number | Represents the current network state of the video element:
|
❮ Video Object