blob: 3c54de0c179cfa5fab0a76fe43310db1c961c491 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#import <DOM/EventHandler.idl>
#import <DOM/EventTarget.idl>
#import <HTML/VideoTrack.idl>
// https://html.spec.whatwg.org/multipage/media.html#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;
};
|