mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
c89fd6dff0
These are used to own and manage the playing of audio data.
16 lines
474 B
Plaintext
16 lines
474 B
Plaintext
#import <DOM/EventHandler.idl>
|
|
#import <DOM/EventTarget.idl>
|
|
#import <HTML/AudioTrack.idl>
|
|
|
|
// https://html.spec.whatwg.org/multipage/media.html#audiotracklist
|
|
[Exposed=Window]
|
|
interface AudioTrackList : EventTarget {
|
|
readonly attribute unsigned long length;
|
|
getter AudioTrack (unsigned long index);
|
|
AudioTrack? getTrackById(DOMString id);
|
|
|
|
attribute EventHandler onchange;
|
|
attribute EventHandler onaddtrack;
|
|
attribute EventHandler onremovetrack;
|
|
};
|