HTMLMediaElement class
The interface adds to HTMLElement the properties and methods needed to support basic media-related capabilities that are common to audio and video. The HTMLVideoElement and HTMLAudioElement elements both inherit this interface.
EventTarget
Node
Element
HTMLElement
HTMLMediaElement
- Implemented types
- Implementers
- Available extensions
- PropsAnimatable
- PropsARIAMixin
- PropsChildNode
- PropsDocumentAndElementEventHandlers
- PropsElement
- PropsElementContentEditable
- PropsElementCSSInlineStyle
- PropsEventTarget
- PropsGeometryUtils
- PropsGlobalEventHandlers
- PropsHTMLElement
- PropsHTMLMediaElement
- PropsHTMLOrSVGElement
- PropsInnerHTML
- PropsNode
- PropsNonDocumentTypeChildNode
- PropsParentNode
- PropsRegion
- PropsSlottable
- Annotations
-
- @JS()
- @staticInterop
Constructors
- HTMLMediaElement()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- haveCurrentData → int
-
no setter
- haveEnoughData → int
-
no setter
- haveFutureData → int
-
no setter
- haveMetadata → int
-
no setter
- haveNothing → int
-
no setter
- networkEmpty → int
-
no setter
- networkIdle → int
-
no setter
- networkLoading → int
-
no setter
- networkNoSource → int
-
no setter