class
MediaController

(Not documented.)

Annotations
  • DocsEditable()
  • DomName('MediaController')
  • Experimental()
Extends

Properties

TimeRanges buffered
read-only
num currentTime
read / write
num defaultPlaybackRate
read / write
double duration
read-only
bool muted
read / write
bool paused
read-only
num playbackRate
read / write
String playbackState
read-only
TimeRanges played
read-only
TimeRanges seekable
read-only
num volume
read / write
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

MediaController()

Methods

pause() → void
play() → void
unpause() → 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