Your sites Log in Sign up Menu

Using first frame of a video as preview?

Is there a way to show the first frame (or just any image) of a (local) video (located in the same folder as the .md file) as a preview image rather than just the play icon?

This seems to work fine for external video hosted on Youtube, but does not seem to work for video stored in the same folder


a year ago, 2 replies   thumbnail   feature   Improve this question

This isn't a built-in feature right now, but it is a good idea and I will eventually make it work once I fully build out video processing on Blot.

For now, you can approximate the result by taking a screenshot of the first frame, storing it in your folder and then setting the Thumbnail metadata of your post to the path to the image file, e.g.

Thumbnail: /Posts/_video.png

I recognise this workaround isn't ideal but please know that right now Blot doesn't do any video processing – once we add those tools to our pipeline we'll be able to extract the frame and use it as a thumbnail automatically

Please let me know if you have any questions about this or anything else

Answered a year ago · Improve this answer

Thanks! I’m using pages not posts but will have a look at the metadata thumbnails.

Answered a year ago · Improve this answer