mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:17:35 +00:00
LibWeb: Implement HTMLMediaElement.play
This also includes the HTMLMediaElement's list of pending play promises, which is coupled pretty tightly with HTMLMediaElement.play.
This commit is contained in:
parent
b8a37ef809
commit
d99a075ff9
3 changed files with 170 additions and 12 deletions
|
@ -34,6 +34,7 @@ interface HTMLMediaElement : HTMLElement {
|
|||
readonly attribute boolean paused;
|
||||
[Reflect, CEReactions] attribute boolean autoplay;
|
||||
[Reflect, CEReactions] attribute boolean loop;
|
||||
Promise<undefined> play();
|
||||
undefined pause();
|
||||
|
||||
// controls
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue