mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibMedia+Tests: Start PlaybackManager in the Paused state again
Having PlaybackManager start in Buffering was causing us to report a media element readyState of HAVE_CURRENT_DATA. HAVE_CURRENT_DATA doesn't make a whole lot of sense for local files, since we should have all the data immediately when we process the metadata. This is reflected in the buffered attribute, so let's not limit the ready state unecessarily.
This commit is contained in:
committed by
Gregory Bertilson
parent
ac70eb601f
commit
c8382bb465
Notes:
github-actions[bot]
2026-04-10 20:22:31 +00:00
Author: https://github.com/Zaggy1024 Commit: https://github.com/LadybirdBrowser/ladybird/commit/c8382bb4653 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8809
@@ -1,6 +1,6 @@
|
||||
loadstart: readyState=0
|
||||
durationchange: readyState=2 duration=12.043
|
||||
loadedmetadata: readyState=2
|
||||
loadeddata: readyState=2
|
||||
durationchange: readyState=4 duration=12.043
|
||||
loadedmetadata: readyState=4
|
||||
loadeddata: readyState=4
|
||||
canplay: readyState=4
|
||||
canplaythrough: readyState=4
|
||||
|
||||
Reference in New Issue
Block a user