Take 99
This commit is contained in:
parent
9dbee19961
commit
02a8099514
1 changed files with 3 additions and 1 deletions
|
@ -33,7 +33,7 @@ function getThumbnailCdnUrl(url) {
|
|||
return url;
|
||||
}
|
||||
|
||||
if (url && url.includes('https://twitter-card')) {
|
||||
if (url && (url.includes('https://twitter-card') || url.includes('https://cards.odysee.com'))) {
|
||||
return url;
|
||||
}
|
||||
|
||||
|
@ -206,6 +206,8 @@ function buildClaimOgMetadata(uri, claim, overrideOptions = {}) {
|
|||
}
|
||||
|
||||
head += `<meta name="twitter:image" content="${claimThumbnail}"/>`;
|
||||
head += `<meta name="twitter:player:image" content="${claimThumbnail}"/>`;
|
||||
head += `<meta name="twitter:site" content="@OdyseeTeam"/>`;
|
||||
head += `<meta property="og:description" content="${cleanDescription}"/>`;
|
||||
head += `<meta property="og:image" content="${claimThumbnail}"/>`;
|
||||
head += `<meta property="og:locale" content="${claimLanguage}"/>`;
|
||||
|
|
Loading…
Reference in a new issue