Tip to prevent videos from impacting page load:
- Set a low-quality poster image with the `poster` attribute
- Set `preload="none"` (only works if there's a poster)
The latter tells the browser to avoid downloading the video file until the user requests playback.
- Set a low-quality poster image with the `poster` attribute
- Set `preload="none"` (only works if there's a poster)
The latter tells the browser to avoid downloading the video file until the user requests playback.
Comments
https://stackoverflow.com/a/44073745/5323344
My use case is my blog where I sometimes want to include video demos in long-form content but don't want to load megabytes' worth of data.