video.js
video.js copied to clipboard
Is there a leaner version of videojs (minified) available, which offers basic functionality which <video> does, with support of adaptive bitrate streaming?
Description
On our websites, when the landing page has videos, the lighthouse score computed by Google's tools, never passes. It is typically throttled to slow 4G, and 200KB of videojs itself ends up taking 3-10 seconds, based on our experiments.
For strong core web vitals, we need to have everything rendered well within 2.5s, apart from other stuff being optimised.
Please share your recommendations.
Reduced test case
https://pagespeed.web.dev/analysis?url=https%3A%2F%2Fmain-lazy--nexa-eds-stage--msildigital.aem.live%2Fe-vitara
Steps to reproduce
Errors
No response
What version of Video.js are you using?
8.17.3
Video.js plugins used.
No response
What browser(s) including version(s) does this occur with?
Chrome
What OS(es) and version(s) does this occur with?
MacOS, Windows
👋 Thanks for opening your first issue here! 👋
If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. To help make it easier for us to investigate your issue, please follow the contributing guidelines.
ABR is one of the biggest parts of any player. If that's not an autoplaying video, my recommendation would be to have a placeholder image and load the player only when it is clicked.