Performance
Should we use next-gen image format for poster attribute? or do they have any fallback?
2 Replies
.webp
probably has better support than a lot of the features you're using, I think it's safe to use that for all images at this point.
or well, almost 😅 - but if a poster doesn't work, it's not the end of the world when it's such a small amount of people that it impactsHmm mdn doesn’t talk about any fallbacks. If you’re loading video anyway I wouldn’t particularly care about a poster image when thinking about overall performance. Use webp as Kevin suggested if your okay with supporting just those browsers or use png/jpg.
