diff options
Diffstat (limited to 'src/components/Post/Embed/VideoEmbed/index.web.tsx')
-rw-r--r-- | src/components/Post/Embed/VideoEmbed/index.web.tsx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/components/Post/Embed/VideoEmbed/index.web.tsx b/src/components/Post/Embed/VideoEmbed/index.web.tsx index 25f9f4604..e988bc830 100644 --- a/src/components/Post/Embed/VideoEmbed/index.web.tsx +++ b/src/components/Post/Embed/VideoEmbed/index.web.tsx @@ -86,7 +86,13 @@ export function VideoEmbed({ const contents = ( <div ref={ref} - style={{display: 'flex', flex: 1, cursor: 'default'}} + style={{ + display: 'flex', + flex: 1, + cursor: 'default', + backgroundImage: `url(${embed.thumbnail})`, + backgroundSize: 'cover', + }} onClick={evt => evt.stopPropagation()}> <ErrorBoundary renderError={renderError} key={key}> <OnlyNearScreen> |