fix pause and remove debug

This commit is contained in:
Josh Hawkins 2025-10-16 13:56:15 -05:00
parent 4f3507b08e
commit 55d391caa2
4 changed files with 3 additions and 7 deletions

View File

@ -330,7 +330,6 @@ export default function HlsVideoPlayer({
className="absolute inset-0 z-10"
onSeekToTime={(timestamp, play) => {
if (onSeekToTime) {
console.log("object track overlay seek", timestamp, play);
onSeekToTime(timestamp, play);
}
}}

View File

@ -111,7 +111,6 @@ export class DynamicVideoController {
if (play) {
this.waitAndPlay();
} else {
console.log("called pause", Date.now());
this.playerController.pause();
}
} else {

View File

@ -269,7 +269,6 @@ export default function DynamicVideoPlayer({
onClipEnded={onValidateClipEnd}
onSeekToTime={(timestamp, play) => {
if (onSeekToTime) {
console.log("hls player seek", timestamp, play);
onSeekToTime(timestamp, play);
}
}}

View File

@ -287,7 +287,6 @@ export function RecordingView({
if (!currentTimeRange) {
return;
}
console.log("manually set time", time, play);
setCurrentTime(time);
if (currentTimeRange.after <= time && currentTimeRange.before >= time) {
@ -310,7 +309,7 @@ export function RecordingView({
} else {
updateSelectedSegment(currentTime, true);
}
} else if (playerTime != currentTime) {
} else if (playerTime != currentTime && timelineType != "detail") {
mainControllerRef.current?.play();
}
}
@ -740,12 +739,12 @@ export function RecordingView({
: Math.max(1, getCameraAspect(mainCamera) ?? 0),
}}
>
{isDesktop && (
{/* {isDesktop && (
<GenAISummaryDialog
review={activeReviewItem}
onOpen={onAnalysisOpen}
/>
)}
)} */}
<DynamicVideoPlayer
className={grow}