I hate that the most common video container on the web does this too. Most non-"stream-ready" mp4 files lack even the basic information such as height/width until the file has completed loading.[1]
[1]: https://forum.videohelp.com/threads/393096-Fixing-Partially-Download-MP4-Files