Dart API Reference
dart:html
MediaSource
MediaSource
class
Annotations
DocsEditable()
DomName('MediaSource')
SupportedBrowser(SupportedBrowser.CHROME)
SupportedBrowser(SupportedBrowser.IE, '11')
Experimental()
Extends
Object
EventTarget
MediaSource
Constructors
MediaSource
()
Static Properties
supported
bool
read-only
Static Methods
isTypeSupported
(
String
type
) →
bool
Instance Properties
activeSourceBuffers
SourceBufferList
read-only
duration
num
read / write
readyState
String
read-only
sourceBuffers
SourceBufferList
read-only
on
Events
Inherited
read-only
Instance 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