test twitter lives
This commit is contained in:
parent
c8bdb33e65
commit
c1e97ee451
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ function buildClaimOgMetadata(uri, claim, overrideOptions = {}, referrerQuery) {
|
|||
claimPath
|
||||
)}&format=xml${referrerQuery ? `&r=${encodeURIComponent(referrerQuery)}` : ''}" title="${title}" />`;
|
||||
|
||||
if (mediaType && (mediaType.startsWith('video/') || mediaType.startsWith('audio/'))) {
|
||||
if ((mediaType && (mediaType.startsWith('video/') || mediaType.startsWith('audio/'))) || !mediaType) {
|
||||
const videoUrl = generateEmbedUrl(claim.name, claim.claim_id);
|
||||
head += `<meta property="og:video" content="${videoUrl}" />`;
|
||||
head += `<meta property="og:video:secure_url" content="${videoUrl}" />`;
|
||||
|
|
Loading…
Reference in a new issue