Assets uploaded after November 21, 2023 have thumbnails generated by default. Older assets may need to be re-imported to get thumbnails.
Get playback info
- Upload an asset and wait until it is ready (or use an existing asset).
- Call the Playback Info API with the assetโs playback ID.
meta.source for an entry with hrn: "Thumbnails" and type: "text/vtt". That URL points to a WebVTT file that lists keyframe image paths and time ranges.
WebVTT format
The VTT file lists segments and corresponding image filenames, for example:Build thumbnail URLs
If the VTT URL is:https://vod-cdn.lp-playback.studio/.../thumbnails/thumbnails.vtt
then the first keyframe image is typically:
https://vod-cdn.lp-playback.studio/.../thumbnails/keyframes_0.jpg
Use the same base path as the VTT URL and append the filename from the VTT. You can pick the segment index that matches the time you want (e.g. for a scrubber or preview at 30 seconds, use the appropriate keyframe).
Livestream thumbnails
For livestreams, the playback info returns a single PNG URL (hrn: "Thumbnail (PNG)", type: "image/png") that updates to the latest frame. See Player and embed for poster/thumbnail usage in the Player.