mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
LibWeb: Implement media element seeking through PlaybackManager
Including the behavior to conditionally seek forward when fast seeking!
This commit is contained in:
parent
ccf4b3f6e9
commit
e9495d0ba0
Notes:
github-actions[bot]
2025-10-28 00:32:54 +00:00
Author: https://github.com/Zaggy1024
Commit: e9495d0ba0
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6410
Reviewed-by: https://github.com/R-Goc
Reviewed-by: https://github.com/gmta ✅
3 changed files with 72 additions and 25 deletions
|
|
@ -202,9 +202,11 @@ private:
|
|||
void forget_media_resource_specific_tracks();
|
||||
void set_ready_state(ReadyState);
|
||||
|
||||
void on_playback_manager_state_change();
|
||||
WebIDL::ExceptionOr<void> play_element();
|
||||
WebIDL::ExceptionOr<void> pause_element();
|
||||
void seek_element(double playback_position, MediaSeekMode = MediaSeekMode::Accurate);
|
||||
void finish_seeking_element();
|
||||
void notify_about_playing();
|
||||
void set_show_poster(bool);
|
||||
void set_paused(bool);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue