1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:18:12 +00:00

LibWeb: Begin detecting the end of an HTMLMediaElement media resource

This commit is contained in:
Timothy Flynn 2023-04-10 20:04:46 -04:00 committed by Linus Groh
parent 33047b38ec
commit 4797f07883
4 changed files with 90 additions and 0 deletions

View file

@ -33,6 +33,7 @@ interface HTMLMediaElement : HTMLElement {
attribute double currentTime;
readonly attribute unrestricted double duration;
readonly attribute boolean paused;
readonly attribute boolean ended;
[Reflect, CEReactions] attribute boolean autoplay;
[Reflect, CEReactions] attribute boolean loop;
Promise<undefined> play();