@bendyline/squisq-video 2.3.23 → 2.4.0

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.
package/dist/index.d.ts CHANGED
@@ -278,6 +278,8 @@ interface RenderHtmlOptions {
278
278
  * Defaults to true. Embedded/timed media and document timing are unaffected.
279
279
  */
280
280
  animationsEnabled?: boolean;
281
+ /** False captures the completed build state. */
282
+ buildsEnabled?: boolean;
281
283
  /**
282
284
  * Player rendition mounted in the capture page (default 'slideshow').
283
285
  * 'dashboard' renders the one-canvas dashboard projection for
package/dist/index.js CHANGED
@@ -202,6 +202,7 @@ function generateRenderHtml(doc, options) {
202
202
  pipShape,
203
203
  pipPosition,
204
204
  animationsEnabled = true,
205
+ buildsEnabled = true,
205
206
  displayMode = "slideshow",
206
207
  dashboard
207
208
  } = options;
@@ -228,6 +229,7 @@ function generateRenderHtml(doc, options) {
228
229
  // portrait/custom renders from falling back to the landscape preset.
229
230
  ` viewport: ${JSON.stringify({ width, height })}`,
230
231
  ` animationsEnabled: ${JSON.stringify(animationsEnabled)}`,
232
+ ` buildsEnabled: ${JSON.stringify(buildsEnabled)}`,
231
233
  captionStyle ? ` captionStyle: ${JSON.stringify(captionStyle)}` : null,
232
234
  theme ? ` theme: ${escapeForScript(JSON.stringify(theme))}` : null,
233
235
  motion != null ? ` motion: ${escapeForScript(JSON.stringify(motion))}` : null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bendyline/squisq-video",
3
- "version": "2.3.23",
3
+ "version": "2.4.0",
4
4
  "description": "Cross-runtime video and animated-GIF helpers with browser-based ffmpeg.wasm encoding for Squisq documents",
5
5
  "license": "MIT",
6
6
  "author": "Bendyline",
@@ -48,7 +48,7 @@
48
48
  "typecheck": "tsc --noEmit"
49
49
  },
50
50
  "dependencies": {
51
- "@bendyline/squisq": "2.11.19",
51
+ "@bendyline/squisq": "2.12.0",
52
52
  "@ffmpeg/ffmpeg": "0.12.15",
53
53
  "@ffmpeg/util": "0.12.2"
54
54
  },