@bendyline/squisq-video-react 2.2.9 → 2.2.11

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/README.md CHANGED
@@ -45,7 +45,10 @@ Both components also accept `colorScheme="light" | "dark"` so their portaled
45
45
  modal can match the host application; the default remains `light`. Hosts with
46
46
  their own theme tokens can pass `uiPalette?: Partial<VideoExportPalette>` to
47
47
  override dialog surfaces, controls, status colors, and the shared primary color
48
- used by the export action and progress bar.
48
+ used by the export action and progress bar. By default the completed action is
49
+ labelled **Save MP4/GIF to Downloads** and uses the browser download directory.
50
+ Hosts with a native or File System Access picker can provide `saveOutput` and
51
+ `saveActionLabel` to offer a **Save … as...** flow instead.
49
52
 
50
53
  ### Full Export Modal
51
54
 
@@ -91,7 +94,7 @@ The `VideoExportModal` lets users configure:
91
94
 
92
95
  - **Format:** MP4 video or animated GIF
93
96
  - **Quality:** draft, normal, or high
94
- - **FPS:** 10, 15, 24, or 30
97
+ - **FPS:** 10, 15, 24, or 30; MP4 defaults to 30 fps and GIF to 10 fps
95
98
  - **Orientation:** MP4 defaults to 1920x1080/1080x1920; GIF defaults to 960x540/540x960
96
99
  - **Captions:** off, standard, or social
97
100
  - **Animations & transitions:** enabled by default for MP4 and disabled by default for GIF
@@ -112,6 +115,7 @@ function CustomExport({ doc, images, audio }) {
112
115
  elapsed,
113
116
  estimatedRemaining,
114
117
  downloadUrl,
118
+ outputBlob, // completed Blob for host-provided save flows
115
119
  fileSize,
116
120
  audioIncluded, // whether an audio track was muxed in
117
121
  audioSkippedReason, // null when the doc had no audio; a string explains a shortfall