1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:17:35 +00:00

LibWeb: Implement VideoTrack and VideoTrackList

This implements the IDL for these types and some event handling around
them.
This commit is contained in:
Timothy Flynn 2023-04-04 09:26:02 -04:00 committed by Linus Groh
parent 9f8da9798a
commit 3f1badf9b2
10 changed files with 367 additions and 1 deletions

View file

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