mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-19 19:33:46 +01:00
Fix not passing video thumbnail with og:image
This commit is contained in:
parent
4d8ce87ef8
commit
a812b4c87f
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@ export const renderVideo = (
|
||||||
`<meta property="og:video:height" content="${video.height * sizeMultiplier}"/>`,
|
`<meta property="og:video:height" content="${video.height * sizeMultiplier}"/>`,
|
||||||
`<meta property="og:video:width" content="${video.width * sizeMultiplier}"/>`,
|
`<meta property="og:video:width" content="${video.width * sizeMultiplier}"/>`,
|
||||||
`<meta property="og:video:type" content="${video.format}"/>`,
|
`<meta property="og:video:type" content="${video.format}"/>`,
|
||||||
|
`<meta property="og:image" content="${video.thumbnail_url}"/>`,
|
||||||
`<meta property="twitter:image" content="0"/>`
|
`<meta property="twitter:image" content="0"/>`
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue