mirror of
https://github.com/yusufipk/OpenFrame.git
synced 2026-09-11 17:46:06 +00:00
feat: Implement multi-panel video comparison with shared playback controls, timeline comments, and YouTube API integration.
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user