Files
ladybird/Tests/LibWeb/Text/expected/HTML/HTMLMediaElement-readyState-progression.txt
Zaggy1024 f3832c0b36 LibWeb: Use MSE steps to update the media element's ready state
These steps are the best definition we have for how the ready state
should be set, and it seems to be reasonable to apply to plain file
playback as well.

Since our file demuxers are hardcoded to return the entire duration as
buffered, the ready state immediately progresses to HAVE_CURRENT_DATA.
This will probably change once we can check the demuxers for buffered
data.
2026-04-01 02:54:22 -05:00

7 lines
174 B
Plaintext

loadstart: readyState=0
durationchange: readyState=2 duration=12.043
loadedmetadata: readyState=2
loadeddata: readyState=2
canplay: readyState=4
canplaythrough: readyState=4