mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
Added AudioTrack, AudioTrackList, VideoTrack, VideoTrackList, and TrackEvent interfaces
This commit is contained in:
parent
4d8d54fc00
commit
cac4aa56f7
19 changed files with 974 additions and 138 deletions
|
@ -59,8 +59,8 @@ interface HTMLMediaElement : HTMLElement {
|
|||
[CEReactions] attribute boolean defaultMuted;
|
||||
|
||||
// tracks
|
||||
// readonly attribute AudioTrackList audioTracks;
|
||||
// readonly attribute VideoTrackList videoTracks;
|
||||
readonly attribute AudioTrackList audioTracks;
|
||||
readonly attribute VideoTrackList videoTracks;
|
||||
readonly attribute TextTrackList textTracks;
|
||||
TextTrack addTextTrack(TextTrackKind kind, optional DOMString label = "", optional DOMString language = "");
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue