From 289e0c367a0da3dfe2603d8004c4ff45e166a84f Mon Sep 17 00:00:00 2001 From: twotalesanimation <80506065+twotalesanimation@users.noreply.github.com> Date: Fri, 12 Jun 2026 09:01:28 +0200 Subject: [PATCH] mobile support for client review player --- .../[token]/review/[versionId]/page.tsx | 10 +- components/annotations/AnnotationCanvas.tsx | 56 ++++++++ components/player/FrameTimeline.tsx | 43 +++++- components/player/PlaybackControls.tsx | 130 ++++++++++-------- components/player/ReviewPlayer.tsx | 7 +- 5 files changed, 176 insertions(+), 70 deletions(-) diff --git a/app/client/[token]/review/[versionId]/page.tsx b/app/client/[token]/review/[versionId]/page.tsx index a9bcf0d..5b01d5d 100644 --- a/app/client/[token]/review/[versionId]/page.tsx +++ b/app/client/[token]/review/[versionId]/page.tsx @@ -278,7 +278,7 @@ export default function ClientReviewPage({ - - Go to start - + {/* Go to start + Reverse — hidden on mobile */} +
+ + + + + Go to start + - - - - - Reverse (J) - + + + + + Reverse (J) + +
@@ -171,22 +174,25 @@ export function PlaybackControls({ Step forward (→) - - - - - Go to end - + {/* Go to end — hidden on mobile */} +
+ + + + + Go to end + +
{/* Spacer */} @@ -194,19 +200,21 @@ export function PlaybackControls({ {/* Right Controls */}
- {/* Playback speed */} - + {/* Playback speed — hidden on mobile */} +
+ +
{/* Annotation toggle */} diff --git a/components/player/ReviewPlayer.tsx b/components/player/ReviewPlayer.tsx index 1eb756f..c96a3ee 100644 --- a/components/player/ReviewPlayer.tsx +++ b/components/player/ReviewPlayer.tsx @@ -250,8 +250,11 @@ export const ReviewPlayer = forwardRef( className )} > - {/* Video */} -
+ {/* Video — tap anywhere to play/pause (pointer-events pass through canvas when not annotating) */} +