EN
Este contenido no se encuentra disponible en su idioma, pero aquí tiene la versión en inglés.

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

 

 

Mostrar:
© 2014 Microsoft