Skip to content

Commit 96f9eab

Browse files
committed
add video record links
1 parent 7486315 commit 96f9eab

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

components/website/SessionCard.tsx

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -256,23 +256,22 @@ export default function SessionCard({
256256
}
257257
}
258258
>
259-
{/* 製播組還在整理影片,等弄好再放上來 by SimbaFs */}
260259
{/* {!session.live && !session.record && ( */}
261-
<div className="flex aspect-video w-full flex-col items-center justify-center gap-2 rounded-xl bg-black/10">
262-
<IoPlay className="text-5xl" />
263-
<div>即將上線</div>
264-
</div>
260+
{/* <div className="flex aspect-video w-full flex-col items-center justify-center gap-2 rounded-xl bg-black/10"> */}
261+
{/* <IoPlay className="text-5xl" /> */}
262+
{/* <div>即將上線</div> */}
263+
{/* </div> */}
265264
{/* )} */}
266265
{/* {session.live && ( */}
267266
{/* <YouTubeEmbed */}
268267
{/* videoid={new URL(session.live).searchParams.get("v")!} */}
269268
{/* /> */}
270269
{/* )} */}
271-
{/* {session.record && ( */}
272-
{/* <YouTubeEmbed */}
273-
{/* videoid={new URL(session.record).searchParams.get("v")!} */}
274-
{/* /> */}
275-
{/* )} */}
270+
{session.record && (
271+
<YouTubeEmbed
272+
videoid={session.record}
273+
/>
274+
)}
276275

277276
<div className="flex flex-row gap-2">
278277
{session.qa && (

0 commit comments

Comments
 (0)