mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +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
Notes:
sideshowbarker
2024-07-17 03:03:37 +09:00
Author: https://github.com/trflynn89
Commit: 3d9106b1b5
Pull-request: https://github.com/SerenityOS/serenity/pull/18281
Reviewed-by: https://github.com/linusg
5 changed files with 195 additions and 9 deletions
|
@ -25,7 +25,9 @@ public:
|
|||
void play_video(Badge<HTMLVideoElement>);
|
||||
void pause_video(Badge<HTMLVideoElement>);
|
||||
|
||||
Time position() const;
|
||||
Time duration() const;
|
||||
|
||||
u64 pixel_width() const;
|
||||
u64 pixel_height() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue