mirror of
https://github.com/diced/zipline.git
synced 2026-01-08 03:11:24 -08:00
fix: uncomment meta tags (#652)
This commit is contained in:
@@ -73,7 +73,7 @@ export default function ViewFileId({
|
||||
|
||||
const meta = (
|
||||
<Head>
|
||||
{/* {user?.view.embedTitle && user?.view.embed && (
|
||||
{user?.view.embedTitle && user?.view.embed && (
|
||||
<meta
|
||||
property='og:title'
|
||||
content={parseString(user.view.embedTitle, { file: file, user, ...metrics }) ?? ''}
|
||||
@@ -96,7 +96,7 @@ export default function ViewFileId({
|
||||
property='theme-color'
|
||||
content={parseString(user.view.embedColor, { file, user, ...metrics }) ?? ''}
|
||||
/>
|
||||
)} */}
|
||||
)}
|
||||
|
||||
{file.type.startsWith('image') && (
|
||||
<>
|
||||
@@ -111,22 +111,10 @@ export default function ViewFileId({
|
||||
|
||||
{file.type.startsWith('video') && (
|
||||
<>
|
||||
{/* <meta name='twitter:card' content='player' />
|
||||
<meta name='twitter:player' content={`${host}/raw/${file.name}`} />
|
||||
<meta name='twitter:player:stream' content={`${host}/raw/${file.name}`} />
|
||||
<meta name='twitter:player:width' content='720' />
|
||||
<meta name='twitter:player:height' content='480' />
|
||||
<meta name='twitter:player:stream:content_type' content={file.type} />
|
||||
<meta name='twitter:title' content={file.name} /> */}
|
||||
|
||||
{file.thumbnail && <meta property='og:image' content={`${host}/raw/${file.thumbnail.path}`} />}
|
||||
|
||||
<meta property='og:type' content='video.other' />
|
||||
{/* <meta property='og:url' content={`${host}/raw/${file.name}`} /> */}
|
||||
{/* <meta property='og:video' content={`${host}/raw/${file.name}`} /> */}
|
||||
<meta property='og:video:url' content={`${host}/raw/${file.name}`} />
|
||||
{/* <meta property='og:video:secure_url' content={`${host}/raw/${file.name}`} /> */}
|
||||
{/* <meta property='og:video:type' content={file.type} /> */}
|
||||
<meta property='og:video:width' content='1920' />
|
||||
<meta property='og:video:height' content='1080' />
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user