Audio networkState Property
Example
Get the current network state of the audio:
 var x = document.getElementById("myAudio").networkState;
Try it Yourself »
Description
The networkState property returns the current network state (activity) of the audio.
Browser Support
| Property | |||||
|---|---|---|---|---|---|
| networkState | Yes | Yes | Yes | Yes | Yes | 
Syntax
 
  audioObject.networkState
Return Value
| Type | Description | 
|---|---|
| Number | Represents the current network state of the audio element:
  | 
    
❮ Audio Object
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.