Dart API Reference
dart:html
MediaSource
MediaSource
class
Annotated by:
DocsEditable()
DomName('MediaSource')
SupportedBrowser(SupportedBrowser.CHROME)
SupportedBrowser(SupportedBrowser.IE, '11')
Experimental()
Extends:
EventTarget
Object
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
Inherited
(
String
type
,
dynamic
listener
(
Event
event
)
, [
bool
useCapture
] ) →
void
removeEventListener
Inherited
(
String
type
,
dynamic
listener
(
Event
event
)
, [
bool
useCapture
] ) →
void
dispatchEvent
Inherited
(
Event
event
) →
bool