HTML DOM Track readyState property
Examples
Get ready orbit resource current status:
var x = document.getElementById ( "myTrack") readyState.;
x output values:
2 // text track has been loaded, no error
Definition and Usage
readyState property returns the current readiness status orbit resources.
Ready status indicates whether the resource is ready to start playing.
Note: This property is read-only.
Browser Support
Internet Explorer, Opera, and Chrome browser support readyState property.
Note: Firefox, Safari or Internet Explorer 9 and earlier versions do not support IE readyState property.
grammar
trackObject .readyState
technical details
return value: | A number that represents the ready state orbit resources: |
---|
Track Objects