
Reading a web video’s natural dimensions before and after metadata
HTML videoWidth and videoHeight report the media’s natural dimensions in CSS pixels. Before those dimensions are known, their values can be zero. These properties differ from the page’s chosen playback-area size. A zero early reading or a smaller displayed rectangle therefore needs timing and field names before it becomes a source-resolution finding.
Read the guide



