feat: Implement multi-panel video comparison with shared playback controls, timeline comments, and YouTube API integration.

This commit is contained in:
Yusuf İpek
2026-02-22 07:56:27 +03:00
parent 87d6c0ab0a
commit 5547346082
3 changed files with 703 additions and 153 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ export function Header({ user }: HeaderProps) {
const [shortcutsOpen, setShortcutsOpen] = useState(false);
// Hide header on video player pages — they use full viewport with their own back button
const isVideoPage = /\/videos\/[^/]+$/.test(pathname) || pathname.startsWith('/watch/');
const isVideoPage = /\/videos\/[^/]+($|\/compare)/.test(pathname) || pathname.startsWith('/watch/');
if (isVideoPage) return null;
return (