add comments

This commit is contained in:
Tom (plebeius.eth)
2024-05-29 21:08:03 +02:00
parent 75a1b716f8
commit 856616eeec
2 changed files with 7 additions and 1 deletions
@@ -54,6 +54,7 @@ export const CatalogPostMedia = ({ commentMediaInfo, isOutOfFeed, linkWidth, lin
thumbnailComponent = thumbnail ? (
<img src={thumbnail} alt='' onLoad={handleLoad} onError={handleError} style={loadingStyle} />
) : (
// show first frame of the video, as a workaround for Safari not loading thumbnails
<video src={`${url}#t=0.001`} onLoad={handleLoad} onError={handleError} style={loadingStyle} />
);
} else if (type === 'webpage' && !hasError) {