WebIDLpedia

VideoTrackList interface

Definition

HTML Standard defines VideoTrackList



[Exposed=Window]
interface VideoTrackList : EventTarget {
  readonly attribute unsigned long length;
  getter VideoTrack (unsigned long index);
  VideoTrack? getTrackById(DOMString id);
  readonly attribute long selectedIndex;

  attribute EventHandler onchange;
  attribute EventHandler onaddtrack;
  attribute EventHandler onremovetrack;
};

Methods and attributes that return objects implementing VideoTrackList

Referring IDL interfaces/dictionaries

Referring specifications