From cbf2b9b95895ad671507980415b255de8418e88c Mon Sep 17 00:00:00 2001 From: Val Date: Wed, 19 Aug 2026 10:34:47 -0700 Subject: [PATCH] fix(producer): swallow author GSAP throws during probe seeks Keep-local: old published comps tween GSAP className onto SVG and throw in strict mode. Editor rAF already continues; plan probe must too. New emit no longer does this. Do not upstream. --- .../producer/src/services/htmlCompiler.ts | 24 +++++++++++-------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/packages/producer/src/services/htmlCompiler.ts b/packages/producer/src/services/htmlCompiler.ts index 1dbc2d211fa..7e5ad1aa5a5 100644 --- a/packages/producer/src/services/htmlCompiler.ts +++ b/packages/producer/src/services/htmlCompiler.ts @@ -2527,11 +2527,13 @@ export async function discoverAudioVolumeAutomationFromTimeline( if (!tl) return results; const seekTl = (t: number) => { - if (typeof tl.totalTime === "function") { - tl.totalTime(t, true); - } else if (typeof tl.seek === "function") { - tl.seek(t, true); - } + try { + if (typeof tl.totalTime === "function") { + tl.totalTime(t, true); + } else if (typeof tl.seek === "function") { + tl.seek(t, true); + } + } catch {} }; for (const { id, start, end } of clips) { @@ -2636,11 +2638,13 @@ export async function discoverVideoVisibilityFromTimeline( if (!tl) return results; const seekTl = (t: number) => { - if (typeof tl.totalTime === "function") { - tl.totalTime(t, true); - } else if (typeof tl.seek === "function") { - tl.seek(t, true); - } + try { + if (typeof tl.totalTime === "function") { + tl.totalTime(t, true); + } else if (typeof tl.seek === "function") { + tl.seek(t, true); + } + } catch {} }; const SAMPLE_STEP = 0.1;