From b77fd4a28bb7688030d799f8459a2a86fb6745fb Mon Sep 17 00:00:00 2001 From: folx bot Date: Mon, 24 Aug 2026 21:54:20 +0200 Subject: [PATCH] video sekcija: YouTube predvajalnik na strani (Google zahteva predvajljiv video za indeksiranje, oglasi tecejo YouTubov), VideoObject kaze na cel video; /videos je zdaj mreza YouTube videov z rubrikami; video-sitemap.xml in vpis v robots; ingest brez napovednika (samo metapodatki in naslovnica) --- client/src/pages/video-detail.tsx | 26 ++-- client/src/pages/videos.tsx | 217 +++++++++++++++--------------- server/routes.ts | 29 ++++ server/static.ts | 10 +- 4 files changed, 158 insertions(+), 124 deletions(-) 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() { ) : ( <> -
-