@bendyline/squisq-video-react 2.5.25 → 2.5.27
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.
|
@@ -26,6 +26,7 @@ import {
|
|
|
26
26
|
import {
|
|
27
27
|
DEFAULT_COVER_SLIDE_SETTINGS,
|
|
28
28
|
MAX_COVER_SLIDE_DURATION_SECONDS,
|
|
29
|
+
coverRepeatsLeadingBlock,
|
|
29
30
|
resolveCoverSlideSettings
|
|
30
31
|
} from "@bendyline/squisq/doc";
|
|
31
32
|
import { resolveDimensions, resolveFfmpegWasmLoad as resolveFfmpegWasmLoad2, QUALITY_PRESETS } from "@bendyline/squisq-video";
|
|
@@ -445,7 +446,7 @@ function resolveVideoExportCover(doc, config = {}) {
|
|
|
445
446
|
...config.coverPlayback !== void 0 ? { playback: config.coverPlayback } : legacyPreRollOverride !== void 0 ? { playback: "preroll" } : {}
|
|
446
447
|
});
|
|
447
448
|
const showCoverSlide = settings.enabled && !!doc.startBlock;
|
|
448
|
-
const coverDuration = showCoverSlide ? settings.duration : 0;
|
|
449
|
+
const coverDuration = showCoverSlide && !coverRepeatsLeadingBlock(doc) ? settings.duration : 0;
|
|
449
450
|
return {
|
|
450
451
|
showCoverSlide,
|
|
451
452
|
coverDuration,
|
package/dist/components/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VideoExportButton,
|
|
3
3
|
VideoExportModal
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-JKRF65OD.js";
|
|
5
5
|
import {
|
|
6
6
|
CoverImageExportModal,
|
|
7
7
|
coverImageFilename,
|
|
8
8
|
validateCoverImageDimensions
|
|
9
9
|
} from "../chunk-XPWYKETM.js";
|
|
10
10
|
import "../chunk-3NJDHK62.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-3IMR25SX.js";
|
|
12
12
|
import "../chunk-ZEA6XJL7.js";
|
|
13
13
|
import "../chunk-RIXBIX3H.js";
|
|
14
14
|
import "../chunk-5MFQMJ5Z.js";
|
package/dist/hooks/index.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VideoExportButton,
|
|
3
3
|
VideoExportModal
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-JKRF65OD.js";
|
|
5
5
|
import {
|
|
6
6
|
CoverImageExportModal,
|
|
7
7
|
coverImageFilename,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
resolveVideoCoverFramePlan,
|
|
14
14
|
resolveVideoExportCover,
|
|
15
15
|
useVideoExport
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-3IMR25SX.js";
|
|
17
17
|
import {
|
|
18
18
|
useFrameCapture
|
|
19
19
|
} from "./chunk-ZEA6XJL7.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bendyline/squisq-video-react",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.27",
|
|
4
4
|
"description": "React components for browser-based MP4 and animated-GIF export of Squisq documents",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Bendyline",
|
|
@@ -81,9 +81,9 @@
|
|
|
81
81
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
82
82
|
},
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"@bendyline/squisq": "2.13.
|
|
85
|
-
"@bendyline/squisq-video": "2.4.
|
|
86
|
-
"@bendyline/squisq-react": "2.12.
|
|
84
|
+
"@bendyline/squisq": "2.13.14",
|
|
85
|
+
"@bendyline/squisq-video": "2.4.20",
|
|
86
|
+
"@bendyline/squisq-react": "2.12.26",
|
|
87
87
|
"@ffmpeg/core": "0.12.10",
|
|
88
88
|
"@ffmpeg/ffmpeg": "0.12.15",
|
|
89
89
|
"@ffmpeg/util": "0.12.2",
|