Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Measure - Multiple <video> <source> tags all reported as downloaded #14291

Open
huntharo opened this issue Aug 3, 2022 · 2 comments
Open

Measure - Multiple <video> <source> tags all reported as downloaded #14291

huntharo opened this issue Aug 3, 2022 · 2 comments
Assignees
Labels
needs-investigation P2 PSI/LR PageSpeed Insights and Lightrider

Comments

@huntharo
Copy link

huntharo commented Aug 3, 2022

Describe the bug

Avoid enormous network payloads is getting flagged for a page with two <source> tags within the <video> tag and both formats are getting reported as having been downloaded and contributing to the total page weight.

This does not happen in Lighthouse in DevTools. I don't think this should be counting both on web.dev either?

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://web.dev/measure/?url=https%3A%2F%2Fwww.shutterstock.com%2Fvideo%2Fclip-1079039945-solar-power-plant-windmills-aerial-view-renewable
  2. Click on Run Audit
  3. Scroll down to Performance -> Diagnostics -> Avoid enormous network payloads
  4. Expand section
  5. See that both the webm and mp4 are listed as contributing to total page weight

Expected behavior

This isn't how <video> <source> works? It doesn't download both videos, it downloads one in the preferred format...

When run in Chrome DevTools Lighthouse is not showing both videos downloading, it is expected that web.dev would match that.

Screenshots

image

@huntharo huntharo added the P2 label Aug 3, 2022
@huntharo huntharo changed the title Multiple <video> <source> tags all reported as downloaded Aug 3, 2022
@devnook devnook transferred this issue from GoogleChrome/web.dev Aug 15, 2022
@adamraine
Copy link
Member

Yeah this is happening on web.dev and PSI but never DevTools or CLI.

I tried launching Chrome with --headless and --headless=chrome on the CLI but it still wouldn't repro.

@adamraine adamraine added needs-investigation PSI/LR PageSpeed Insights and Lightrider labels Aug 15, 2022
@ErwinAI
Copy link

ErwinAI commented Oct 9, 2023

Having the same problem here!

image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-investigation P2 PSI/LR PageSpeed Insights and Lightrider
4 participants