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:
Zaggy1024
2026-03-29 05:01:57 -05:00
committed by Gregory Bertilson
parent ac70eb601f
commit c8382bb465
Notes: github-actions[bot] 2026-04-10 20:22:31 +00:00
4 changed files with 20 additions and 17 deletions

View File

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