@remotion/studio 4.0.302 → 4.0.303
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/.turbo/turbo-make.log +2 -2
- package/dist/Studio.js +2 -1
- package/dist/esm/chunk-0z0vthv9.js +28696 -0
- package/dist/esm/internals.mjs +1 -0
- package/dist/esm/previewEntry.mjs +1 -0
- package/dist/esm/renderEntry.mjs +3 -1
- package/dist/renderEntry.js +3 -2
- package/package.json +9 -9
- package/tsconfig.tsbuildinfo +1 -1
package/dist/esm/internals.mjs
CHANGED
|
@@ -28692,6 +28692,7 @@ var Studio = ({ rootComponent, readOnly }) => {
|
|
|
28692
28692
|
numberOfAudioTags: window.remotion_numberOfAudioTags,
|
|
28693
28693
|
onlyRenderComposition: null,
|
|
28694
28694
|
currentCompositionMetadata: null,
|
|
28695
|
+
audioLatencyHint: window.remotion_audioLatencyHint ?? "interactive",
|
|
28695
28696
|
children: /* @__PURE__ */ jsxs138(EditorContexts, {
|
|
28696
28697
|
readOnlyStudio: readOnly,
|
|
28697
28698
|
children: [
|
|
@@ -28972,6 +28972,7 @@ var Studio = ({ rootComponent, readOnly }) => {
|
|
|
28972
28972
|
numberOfAudioTags: window.remotion_numberOfAudioTags,
|
|
28973
28973
|
onlyRenderComposition: null,
|
|
28974
28974
|
currentCompositionMetadata: null,
|
|
28975
|
+
audioLatencyHint: window.remotion_audioLatencyHint ?? "interactive",
|
|
28975
28976
|
children: /* @__PURE__ */ jsxs138(EditorContexts, {
|
|
28976
28977
|
readOnlyStudio: readOnly,
|
|
28977
28978
|
children: [
|
package/dist/esm/renderEntry.mjs
CHANGED
|
@@ -143,6 +143,7 @@ var renderContent = (Root) => {
|
|
|
143
143
|
const markup = /* @__PURE__ */ jsxs(Internals.RemotionRoot, {
|
|
144
144
|
logLevel: window.remotion_logLevel,
|
|
145
145
|
numberOfAudioTags: 0,
|
|
146
|
+
audioLatencyHint: window.remotion_audioLatencyHint ?? "interactive",
|
|
146
147
|
onlyRenderComposition: bundleMode.compositionName,
|
|
147
148
|
currentCompositionMetadata: {
|
|
148
149
|
props: NoReactInternals.deserializeJSONWithSpecialTypes(bundleMode.serializedResolvedPropsWithSchema),
|
|
@@ -168,6 +169,7 @@ var renderContent = (Root) => {
|
|
|
168
169
|
numberOfAudioTags: 0,
|
|
169
170
|
onlyRenderComposition: null,
|
|
170
171
|
currentCompositionMetadata: null,
|
|
172
|
+
audioLatencyHint: window.remotion_audioLatencyHint ?? "interactive",
|
|
171
173
|
children: /* @__PURE__ */ jsx(Root, {})
|
|
172
174
|
});
|
|
173
175
|
renderToDOM(markup);
|
|
@@ -179,7 +181,7 @@ var renderContent = (Root) => {
|
|
|
179
181
|
renderToDOM(/* @__PURE__ */ jsx("div", {
|
|
180
182
|
children: /* @__PURE__ */ jsx(DelayedSpinner, {})
|
|
181
183
|
}));
|
|
182
|
-
import("./chunk-
|
|
184
|
+
import("./chunk-0z0vthv9.js").then(({ StudioInternals }) => {
|
|
183
185
|
renderToDOM(/* @__PURE__ */ jsx(StudioInternals.Studio, {
|
|
184
186
|
readOnly: true,
|
|
185
187
|
rootComponent: Root
|
package/dist/renderEntry.js
CHANGED
|
@@ -170,9 +170,10 @@ const renderToDOM = (content) => {
|
|
|
170
170
|
getRootForElement().render(content);
|
|
171
171
|
};
|
|
172
172
|
const renderContent = (Root) => {
|
|
173
|
+
var _a, _b;
|
|
173
174
|
const bundleMode = getBundleMode();
|
|
174
175
|
if (bundleMode.type === 'composition') {
|
|
175
|
-
const markup = ((0, jsx_runtime_1.jsxs)(remotion_1.Internals.RemotionRoot, { logLevel: window.remotion_logLevel, numberOfAudioTags: 0, onlyRenderComposition: bundleMode.compositionName, currentCompositionMetadata: {
|
|
176
|
+
const markup = ((0, jsx_runtime_1.jsxs)(remotion_1.Internals.RemotionRoot, { logLevel: window.remotion_logLevel, numberOfAudioTags: 0, audioLatencyHint: (_a = window.remotion_audioLatencyHint) !== null && _a !== void 0 ? _a : 'interactive', onlyRenderComposition: bundleMode.compositionName, currentCompositionMetadata: {
|
|
176
177
|
props: no_react_1.NoReactInternals.deserializeJSONWithSpecialTypes(bundleMode.serializedResolvedPropsWithSchema),
|
|
177
178
|
durationInFrames: bundleMode.compositionDurationInFrames,
|
|
178
179
|
fps: bundleMode.compositionFps,
|
|
@@ -184,7 +185,7 @@ const renderContent = (Root) => {
|
|
|
184
185
|
renderToDOM(markup);
|
|
185
186
|
}
|
|
186
187
|
if (bundleMode.type === 'evaluation') {
|
|
187
|
-
const markup = ((0, jsx_runtime_1.jsx)(remotion_1.Internals.RemotionRoot, { logLevel: window.remotion_logLevel, numberOfAudioTags: 0, onlyRenderComposition: null, currentCompositionMetadata: null, children: (0, jsx_runtime_1.jsx)(Root, {}) }));
|
|
188
|
+
const markup = ((0, jsx_runtime_1.jsx)(remotion_1.Internals.RemotionRoot, { logLevel: window.remotion_logLevel, numberOfAudioTags: 0, onlyRenderComposition: null, currentCompositionMetadata: null, audioLatencyHint: (_b = window.remotion_audioLatencyHint) !== null && _b !== void 0 ? _b : 'interactive', children: (0, jsx_runtime_1.jsx)(Root, {}) }));
|
|
188
189
|
renderToDOM(markup);
|
|
189
190
|
}
|
|
190
191
|
if (bundleMode.type === 'index') {
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/studio"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/studio",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.303",
|
|
7
7
|
"description": "APIs for interacting with the Remotion Studio",
|
|
8
8
|
"main": "dist",
|
|
9
9
|
"sideEffects": false,
|
|
@@ -23,20 +23,20 @@
|
|
|
23
23
|
"source-map": "0.7.3",
|
|
24
24
|
"open": "^8.4.2",
|
|
25
25
|
"zod": "3.22.3",
|
|
26
|
-
"remotion": "4.0.
|
|
27
|
-
"@remotion/player": "4.0.
|
|
28
|
-
"@remotion/media-utils": "4.0.
|
|
29
|
-
"@remotion/media-parser": "4.0.
|
|
30
|
-
"@remotion/
|
|
31
|
-
"@remotion/zod-types": "4.0.
|
|
32
|
-
"@remotion/
|
|
26
|
+
"remotion": "4.0.303",
|
|
27
|
+
"@remotion/player": "4.0.303",
|
|
28
|
+
"@remotion/media-utils": "4.0.303",
|
|
29
|
+
"@remotion/media-parser": "4.0.303",
|
|
30
|
+
"@remotion/renderer": "4.0.303",
|
|
31
|
+
"@remotion/zod-types": "4.0.303",
|
|
32
|
+
"@remotion/studio-shared": "4.0.303"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"react": "19.0.0",
|
|
36
36
|
"react-dom": "19.0.0",
|
|
37
37
|
"@types/semver": "^7.3.4",
|
|
38
38
|
"eslint": "9.19.0",
|
|
39
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
39
|
+
"@remotion/eslint-config-internal": "4.0.303"
|
|
40
40
|
},
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|