GoogleChrome / GoogleChrome/lighthouse
Video audit: too large or too small for display dimensions
Open
feature
new_audit
P3
- Dominant language
- JavaScript
- Stars
- 30.8k
- Forks
- 9.8k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 19
Description
Check if the display dimensions of a video element are considerably larger or smaller (say 2x) than the encoded dimensions of the video played in it.
Test by comparing video element `videoWidth` against `clientWidth`.
Need to ensure video `loadedmetadata` has fired before testing.
Contributor guide
Assessment
This issue has not been assessed yet.