HTML DOM Video readyState property
Examples
Get ready video:
var x = document.getElementById ( "myVideo") readyState.;
. Document.getElementById ( "demo") innerHTML = x;
. Document.getElementById ( "demo") innerHTML = x;
x The output is:
4 // indicates there is enough data to start playing
try it"
Definition and Usage
readyState property returns the current video ready.
Ready Status Indication audio / video if ready to play.
Note: This attribute is readonly
Browser Support
All major browsers support readyState property
Note: Internet Explorer 8 or earlier browser does not support this property.
grammar
videoObject .readyState
return value
Types of | description |
---|---|
digital | Ready indicates the audio / video elements:
|
Video Object