Skip to content

Instantly share code, notes, and snippets.

@nathan5x
Created November 30, 2022 07:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nathan5x/fd706c140ddc0c98fb647f41332ffc3b to your computer and use it in GitHub Desktop.
Save nathan5x/fd706c140ddc0c98fb647f41332ffc3b to your computer and use it in GitHub Desktop.
HTML Video Element's readystate in different browsers with different events while loading on autoplay
Browsers vs Events Chrome Firefox Safari Edge Opera iOS Safari Android Chrome webOS TV - LG
loadstart - 0 0 - 0 0 0 -
durationchange 1 1 1 1 1 1 1 -
loadedmetadata 1 1 1 1 1 1 1 -
canplay 4 4 3 4 4 4 4 -
canplaythrough 4 4 4 4 4 4 4 -
play 4 4 4 4 4 4 4 -
playing 4 4 4 4 4 4 4 -
timeupdate 4 4 4 4 4 4 4 4
pause 4 4 4 4 4 4 4 4
stalled 4 - 4 - - 4 - -
suspend 4 - - 4 - - 4 -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment