Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

readyState property

Gets the current state of the MediaSource.

Important  This property is not supported in Internet Explorer 11 on Windows 7.

This property is read-only.

IE11

Syntax

JavaScript
ptr = object.readyState

Property values

Type: ReadyState

The current state of the MediaSource.

ReadyState values:

ValueCondition
closed

The MediaSource is not attached to a media element.

open

A media element has opened the MediaSource. The MediaSource is ready to receive media data to the SourceBuffer objects in sourceBuffers.

ended

endOfStream has been called on the MediaSource, but the MediaSource is still attached to the media element.

 

See also

MediaSource
Building a simple MPEG-DASH streaming player

 

 

Show:
© 2014 Microsoft