From 1256eb1b59b558f0ebcc2f8558946991a540ba46 Mon Sep 17 00:00:00 2001 From: Charlotte Som Date: Wed, 4 Jun 2025 23:18:20 +0100 Subject: [PATCH] set tab title when record contains a title --- client/viewer.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/viewer.tsx b/client/viewer.tsx index a06208f..2c48d1b 100644 --- a/client/viewer.tsx +++ b/client/viewer.tsx @@ -64,7 +64,10 @@ const main = async () => { ); - if (video.title) player.append(

{video.title}

); + if (video.title) { + player.append(

{video.title}

); + document.title = `${video.title} | video.cerulea.blue`; + } if (video.description) player.append(

{video.description}

); };