diff --git a/client/src/pages/video-detail.tsx b/client/src/pages/video-detail.tsx index e9fbe13..5135534 100644 --- a/client/src/pages/video-detail.tsx +++ b/client/src/pages/video-detail.tsx @@ -20,8 +20,9 @@ export interface YtVideo { description: string; chapters: { t: string; label: string }[]; tags: string[]; - previewUrl: string; + previewUrl: string | null; previewS: number; + embedUrl?: string; posterUrl: string; youtubeUrl: string; } @@ -83,15 +84,19 @@ export default function VideoDetailPage() { ) : ( <> -
-