1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:47:37 +00:00

LibWeb: Implement the AudioTrack and AudioTrackList interfaces

These are used to own and manage the playing of audio data.
This commit is contained in:
Timothy Flynn 2023-06-12 13:52:30 -04:00 committed by Andreas Kling
parent a34e369252
commit c89fd6dff0
12 changed files with 455 additions and 0 deletions

View file

@ -0,0 +1,9 @@
// https://html.spec.whatwg.org/multipage/media.html#audiotrack
[Exposed=Window]
interface AudioTrack {
readonly attribute DOMString id;
readonly attribute DOMString kind;
readonly attribute DOMString label;
readonly attribute DOMString language;
attribute boolean enabled;
};