VideoTrack class

The interface represents a single video track from a <video> element. The most common use for accessing a object is to toggle its selected property in order to make it the active video track for its <video> element.

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

VideoTrack()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
id String

Available on VideoTrack, provided by the PropsVideoTrack extension

no setter
kind String

Available on VideoTrack, provided by the PropsVideoTrack extension

no setter
label String

Available on VideoTrack, provided by the PropsVideoTrack extension

no setter
language String

Available on VideoTrack, provided by the PropsVideoTrack extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selected bool

Available on VideoTrack, provided by the PropsVideoTrack extension

getter/setter pair
sourceBuffer SourceBuffer?

Available on VideoTrack, provided by the PropsVideoTrack extension

no setter

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