mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-26 19:22:30 -05:00
29 lines
983 B
Text
29 lines
983 B
Text
|
#import <DOM/EventTarget.idl>
|
||
|
|
||
|
// https://html.spec.whatwg.org/multipage/media.html#texttrackmode
|
||
|
enum TextTrackMode { "disabled", "hidden", "showing" };
|
||
|
|
||
|
// https://html.spec.whatwg.org/multipage/media.html#texttrackkind
|
||
|
enum TextTrackKind { "subtitles", "captions", "descriptions", "chapters", "metadata" };
|
||
|
|
||
|
// https://html.spec.whatwg.org/multipage/media.html#texttrack
|
||
|
[Exposed=Window]
|
||
|
interface TextTrack : EventTarget {
|
||
|
readonly attribute TextTrackKind kind;
|
||
|
readonly attribute DOMString label;
|
||
|
readonly attribute DOMString language;
|
||
|
|
||
|
[FIXME] readonly attribute DOMString id;
|
||
|
[FIXME] readonly attribute DOMString inBandMetadataTrackDispatchType;
|
||
|
|
||
|
[FIXME] attribute TextTrackMode mode;
|
||
|
|
||
|
[FIXME] readonly attribute TextTrackCueList? cues;
|
||
|
[FIXME] readonly attribute TextTrackCueList? activeCues;
|
||
|
|
||
|
[FIXME] undefined addCue(TextTrackCue cue);
|
||
|
[FIXME] undefined removeCue(TextTrackCue cue);
|
||
|
|
||
|
attribute EventHandler oncuechange;
|
||
|
};
|