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" className="absolute inset-0 z-10"
onSeekToTime={(timestamp, play) => { onSeekToTime={(timestamp, play) => {
if (onSeekToTime) { if (onSeekToTime) {
console.log("object track overlay seek", timestamp, play);
onSeekToTime(timestamp, play); onSeekToTime(timestamp, play);
} }
}} }}

View File

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

View File

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

View File

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