content field which is array of links to that content, which is either image or video). <PostCard /> component which renders first element of content as "thumbnail" and problem occurs when first element is video, which obviously can't be rendered as image. So I was thinking, if first element is video, it should somehow take first frame of that video and use it as thumbnail. But it would probably be bad to render it every time user visits the page, so I was thinking of generating it once when user creates a post, and save it as something like poster as separate field in DB. But I have no idea how to do that lol.