Skip to content

Commit 73ab670

Browse files
authored
youtube-thumbnail-urls - link up my demo pages
1 parent 023a7eb commit 73ab670

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

youtube-thumbnail-urls.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,16 @@ I tested across some old and new videos and here's the best image they had avail
4848
"hqdefault.jpg (480px)" : 89,
4949
```
5050

51+
My test page (with a smaller set of test videos): https://paulirish.github.io/lite-youtube-embed/testpage/poster-image-summary.html
52+
5153
I found no cases where it a smaller size was not available. For example, if they have the maxresdefault webp, then they definitely have the sddefault webp.
5254

5355
All this means, it'd be very reasonable and efficient to try first for the `maxresdefault.webp`. If it isn't available (see annoying 404 behavior above), then fall back to `hqdefault.jpg`.
5456

55-
In lite-youtube-embed's case though, we'll default to trying the `sddefault.webp` first, as that resolution is plenty for our uses.
57+
In lite-youtube-embed's case though, we'll default to trying the `sddefault.webp` first, as that resolution is plenty for our uses.
58+
59+
## The best poster image for your video
60+
61+
See https://paulirish.github.io/lite-youtube-embed/testpage/poster-image-availability.html
62+
63+

0 commit comments

Comments
 (0)