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
commit 4797f07883
Notes: sideshowbarker 2024-07-17 04:32:07 +09:00
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();