@hyperframes/engine 0.8.184 → 0.8.185

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -364,11 +364,7 @@ async function probeBeginFrameSupport(browser, timeoutMs = BEGINFRAME_PROBE_TIME
364
364
  };
365
365
  }
366
366
  if (page && !(await settleWithin(page.close(), BEGINFRAME_PROBE_CLEANUP_TIMEOUT_MS))) {
367
- return {
368
- supported: false,
369
- detail: `${result.detail}; probe page cleanup timed out`,
370
- durationMs: Date.now() - started,
371
- };
367
+ return { ...result, detail: `${result.detail}; probe page cleanup timed out` };
372
368
  }
373
369
  return result;
374
370
  }
@@ -1498,8 +1498,8 @@ export function buildLiveMapWarning(libraries) {
1498
1498
  message: `Live map viewport(s) detected in the composition (${libraries.join(", ")}). ` +
1499
1499
  `Map tiles load over the network at render time, which the deterministic-render ` +
1500
1500
  `contract forbids: frames captured before tiles arrive ship a blank or partial map ` +
1501
- `with no error. Bake the map to a video first (see the motion-graphics maps skill / ` +
1502
- `bake-basemap.mjs) and use the baked file as the imagery layer.`,
1501
+ `with no error. Bake the map to a video first (the hyperframes skill's ` +
1502
+ `scripts/bake-basemap.mjs, see references/film.md) and use the baked file as the imagery layer.`,
1503
1503
  details: { sources: [...libraries] },
1504
1504
  };
1505
1505
  }
@@ -377,7 +377,7 @@ export function parseVideoElements(html) {
377
377
  mediaStart: readMediaStart(el),
378
378
  playbackRate: readElementRateSpec(el),
379
379
  loop: el.hasAttribute("loop"),
380
- hasAudio: hasAudioAttr === "true",
380
+ hasAudio: hasAudioAttr === "true" && isAudibleVideoElement(el),
381
381
  ...(isSelfOrAncestorHidden(el) ||
382
382
  (isAudibleVideoElement(el) && isMemberGroupHidden(groupsById, el))
383
383
  ? { hidden: true }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperframes/engine",
3
- "version": "0.8.184",
3
+ "version": "0.8.185",
4
4
  "description": "Seekable web page to video rendering engine (Puppeteer + FFmpeg)",
5
5
  "repository": {
6
6
  "type": "git",
@@ -50,8 +50,8 @@
50
50
  "linkedom": "^0.18.12",
51
51
  "puppeteer": "^25.8.0",
52
52
  "puppeteer-core": "^25.8.0",
53
- "@hyperframes/core": "^0.8.184",
54
- "@hyperframes/parsers": "^0.8.184"
53
+ "@hyperframes/core": "^0.8.185",
54
+ "@hyperframes/parsers": "^0.8.185"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@types/node": "^25.0.10",