Fixed accidentally setting height as width

This commit is contained in:
dangered wolf 2022-07-14 04:55:09 -04:00
parent 99d105f3ad
commit e5e201d546
No known key found for this signature in database
GPG key ID: 41E4D37680ED8B58

View file

@ -134,11 +134,11 @@ export const handleStatus = async (handle: string, id: string, mediaNumber?: num
`<meta name="twitter:player:stream" content="${bestVariant?.url}"/>`,
`<meta name="twitter:player:stream:content_type" content="${bestVariant?.content_type}"/>`,
`<meta name="twitter:player:height" content="${media.original_info.height}"/>`,
`<meta name="twitter:player:width" content="${media.original_info.height}"/>`,
`<meta name="twitter:player:width" content="${media.original_info.width}"/>`,
`<meta name="og:video" content="${bestVariant?.url}"/>`,
`<meta name="og:video:secure_url" content="${bestVariant?.url}"/>`,
`<meta name="og:video:height" content="${media.original_info.height}"/>`,
`<meta name="og:video:width" content="${media.original_info.height}"/>`,
`<meta name="og:video:width" content="${media.original_info.width}"/>`,
`<meta name="og:video:type" content="${bestVariant?.content_type}"/>`
);
}