mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-09 19:16:02 +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:
parent
9f8da9798a
commit
3f1badf9b2
Notes:
sideshowbarker
2024-07-17 06:00:02 +09:00
Author: https://github.com/trflynn89
Commit: 3f1badf9b2
Pull-request: https://github.com/SerenityOS/serenity/pull/18183
Reviewed-by: https://github.com/Lubrsi
Reviewed-by: https://github.com/linusg ✅
Reviewed-by: https://github.com/skyrising
10 changed files with 367 additions and 1 deletions
9
Userland/Libraries/LibWeb/HTML/VideoTrack.idl
Normal file
9
Userland/Libraries/LibWeb/HTML/VideoTrack.idl
Normal 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;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue