Video networkState Property
Example
Get the current network state of the video:
var x = document.getElementById("myVideo").networkState;
Try it Yourself »
Description
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
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.