Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

cleanup (#770)

Ameer Al Ashhabe38ac55a8150
diff --git a/apps/web/app/s/[videoId]/page.tsx b/apps/web/app/s/[videoId]/page.tsx
index 48c62431f..c8ff64984 100644
--- a/apps/web/app/s/[videoId]/page.tsx
+++ b/apps/web/app/s/[videoId]/page.tsx
@@ -1,7 +1,6 @@
import { db } from "@cap/database";
import { eq, InferSelectModel } from "drizzle-orm";
import { Logo } from "@cap/ui";
-import Head from "next/head";
import {
videos,
@@ -533,25 +532,6 @@ async function AuthorizedContent({
return (
<>
- <Head>
- <meta property="og:type" content="video.other" />
- <meta property="og:video" content={`${buildEnv.NEXT_PUBLIC_WEB_URL}/api/playlist?userId=${video.ownerId}&videoId=${video.id}`} />
- <meta property="og:video:url" content={`${buildEnv.NEXT_PUBLIC_WEB_URL}/api/playlist?userId=${video.ownerId}&videoId=${video.id}`} />
- <meta property="og:video:secure_url" content={`${buildEnv.NEXT_PUBLIC_WEB_URL}/api/playlist?userId=${video.ownerId}&videoId=${video.id}`} />
- <meta property="og:video:type" content="video/mp4" />
- <meta property="og:video:width" content="1280" />
- <meta property="og:video:height" content="720" />
- <meta property="og:image" content={`${buildEnv.NEXT_PUBLIC_WEB_URL}/api/video/og?videoId=${video.id}`} />
- <meta property="og:title" content={`${video.name} | Cap Recording`} />
- <meta property="og:description" content="Watch this video on Cap" />
- <meta name="twitter:card" content="player" />
- <meta name="twitter:title" content={`${video.name} | Cap Recording`} />
- <meta name="twitter:description" content="Watch this video on Cap" />
- <meta name="twitter:image" content={`${buildEnv.NEXT_PUBLIC_WEB_URL}/api/video/og?videoId=${video.id}`} />
- <meta name="twitter:player" content={`${buildEnv.NEXT_PUBLIC_WEB_URL}/s/${video.id}`} />
- <meta name="twitter:player:width" content="1280" />
- <meta name="twitter:player:height" content="720" />
- </Head>
<div className="container flex-1 px-4 py-4 mx-auto">
<ShareHeader
data={{