Prop Track Readystate
# Track readyState Property
[ Track Object](#)
## Example
Get the current ready state of a track resource:
var x = document.getElementById("myTrack").readyState;
The output value of _x_ will be:
2 // The text track has been loaded with no errors
* * *
## Definition and Usage
The readyState property returns the current ready state of a track resource.
The ready state indicates whether the resource is ready to start playing.
**Note:** This property is read-only.
* * *
## Browser Support

Internet Explorer, Opera, and Chrome support the readyState property.
**Note:** Firefox, Safari, or Internet Explorer 9 and earlier do not support the readyState property.
* * *
## Syntax
_trackObject_.readyState
## Technical Details
| Return Value: | A number, representing the ready state of the track resource: * 0 = NONE - The text track has not been fetched * 1 = LOADING - The text track is being loaded, no errors have occurred, and the next step is for the parser to add it to the track * 2 = LOADED - The text track has been fully loaded * 3 = ERROR - The text track is enabled but the user cannot obtain it, some data has been lost, and it cannot be correctly retrieved. |
| --- |
* * Track Object](#)
YouTip