class
MediaSource

(Not documented.)

Annotations
  • DocsEditable()
  • DomName('MediaSource')
  • SupportedBrowser(SupportedBrowser.CHROME)
  • SupportedBrowser(SupportedBrowser.IE, '11')
  • Experimental()
Extends

Static Properties

bool supported
read-only
Checks if this type is supported on the current platform.

Static Methods

isTypeSupported(String type) → bool

Properties

SourceBufferList activeSourceBuffers
read-only
num duration
read / write
String readyState
read-only
SourceBufferList sourceBuffers
read-only
Events on
read-only , inherited
This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.

Constructors

MediaSource()

Methods

addSourceBuffer(String type) → SourceBuffer
endOfStream([String error]) → void
removeSourceBuffer(SourceBuffer buffer) → void
addEventListener(String type, dynamic listener(Event event), [bool useCapture]) → void
inherited
removeEventListener(String type, dynamic listener(Event event), [bool useCapture]) → void
inherited
dispatchEvent(Event event) → bool
inherited