1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:57:44 +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:
Timothy Flynn 2023-04-10 10:07:23 -04:00 committed by Linus Groh
parent 6b51c3c1ce
commit 3d9106b1b5
5 changed files with 195 additions and 9 deletions

View file

@ -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;