mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:27:35 +00:00
LibWeb: Begin tracking HTMLMediaElement playback positions
There are several playback positions to be tracked, depending on the state of the media element.
This commit is contained in:
parent
6b51c3c1ce
commit
3d9106b1b5
5 changed files with 195 additions and 9 deletions
|
@ -30,6 +30,7 @@ interface HTMLMediaElement : HTMLElement {
|
|||
readonly attribute unsigned short readyState;
|
||||
|
||||
// playback state
|
||||
attribute double currentTime;
|
||||
readonly attribute unrestricted double duration;
|
||||
readonly attribute boolean paused;
|
||||
[Reflect, CEReactions] attribute boolean autoplay;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue