Community forum for knowledge and support

Updated 10 months ago

Automated way to get video thumbnails for relume lightbox

At a glance

A community member is looking for an automated way to get video thumbnails from Vimeo or YouTube and insert them into the image field used by Relume for video lightboxes. Another community member suggests trying a script that dynamically inserts the video ID into the URL for the image hosted on YouTube's servers. The original community member thanks them and says they will give it a try.

Useful resources

Greetings! Does anyone know of an automated way to get the video thumbnails that are automatically created by either Vimeo or YouTube (and visible in the Webflow CMS) into the image field that is used by Relume for the video lightbox in most of the Relume layouts? Very time consuming to take a screenshot when you already have a video thumbnail preview from the link itself and we're bringing up 100+ videos. TIA!

V
J
2 comments

Hey James. maybe you can try this: https://gist.github.com/iredun/a9681c46d3d74e03fb35d9ebf198b83d The idea would be to dynamically insert the video id into the URL for the image that is hosted on youtubes servers.

Thanks, will give it a try!

Add a reply
Sign up and join the conversation on Slack