You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7afc1c4
Browse filesBrowse the repository at this point in the historyBrowse files
// Engine unavailable in this install — snapshot will still run, and
324
-
// compositions without <video data-start> get exactly the old behaviour.
323
+
// Engine unavailable in this install — snapshot still runs, but any
324
+
// <video data-start> will screenshot black (chrome-headless ignores
325
+
// programmatic currentTime writes). Say so instead of silently
326
+
// shipping black frames (two wild Windows reports).
327
+
console.warn(
328
+
` ${c.warn("⚠")} @hyperframes/engine unavailable — <video> elements will appear black in snapshots. Verify media via a draft render's extracted frames instead.`,
` ${c.warn("⚠")}${missed}/${active.length} active <video> frame(s) could not be extracted at ${time.toFixed(1)}s — those videos will appear black/stale in this snapshot`,
438
+
);
439
+
}
440
+
429
441
// Sync visibility even when empty — clears stale overlays from prior seeks
430
442
try{
431
443
if(updates.length>0){
@@ -436,7 +448,9 @@ async function captureSnapshots(
436
448
active.map((a)=>a.id),
437
449
);
438
450
}catch{
439
-
/* fall through to plain screenshot */
451
+
console.warn(
452
+
` ${c.warn("⚠")} video frame injection failed at ${time.toFixed(1)}s — <video> elements will appear black/stale in this snapshot`,
0 commit comments