remotion 3.3.0 → 3.3.2
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-build.log +1 -1
- package/dist/RemotionRoot.d.ts +1 -0
- package/dist/RemotionRoot.js +2 -2
- package/dist/config.d.ts +6 -0
- package/dist/index.d.ts +1 -0
- package/dist/internals.d.ts +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
package/.turbo/turbo-build.log
CHANGED
package/dist/RemotionRoot.d.ts
CHANGED
package/dist/RemotionRoot.js
CHANGED
|
@@ -11,7 +11,7 @@ const prefetch_state_1 = require("./prefetch-state");
|
|
|
11
11
|
const random_1 = require("./random");
|
|
12
12
|
const timeline_position_state_1 = require("./timeline-position-state");
|
|
13
13
|
const duration_state_1 = require("./video/duration-state");
|
|
14
|
-
const RemotionRoot = ({ children }) => {
|
|
14
|
+
const RemotionRoot = ({ children, numberOfAudioTags }) => {
|
|
15
15
|
var _a;
|
|
16
16
|
const [remotionRootId] = (0, react_1.useState)(() => String((0, random_1.random)(null)));
|
|
17
17
|
const [frame, setFrame] = (0, react_1.useState)((_a = window.remotion_initialFrame) !== null && _a !== void 0 ? _a : 0);
|
|
@@ -67,6 +67,6 @@ const RemotionRoot = ({ children }) => {
|
|
|
67
67
|
// In the preview, which is mostly played on Desktop, we opt out of the autoplay policy fix as described in https://github.com/remotion-dev/remotion/pull/554, as it mostly applies to mobile.
|
|
68
68
|
, {
|
|
69
69
|
// In the preview, which is mostly played on Desktop, we opt out of the autoplay policy fix as described in https://github.com/remotion-dev/remotion/pull/554, as it mostly applies to mobile.
|
|
70
|
-
numberOfAudioTags:
|
|
70
|
+
numberOfAudioTags: numberOfAudioTags, children: children }) }) }) }) }) }) }));
|
|
71
71
|
};
|
|
72
72
|
exports.RemotionRoot = RemotionRoot;
|
package/dist/config.d.ts
CHANGED
|
@@ -26,6 +26,12 @@ export declare type ConfigType = {
|
|
|
26
26
|
* @default true
|
|
27
27
|
*/
|
|
28
28
|
readonly setKeyboardShortcutsEnabled: (enableShortcuts: boolean) => void;
|
|
29
|
+
/**
|
|
30
|
+
* Set number of shared audio tags. https://www.remotion.dev/docs/player/autoplay#use-the-numberofsharedaudiotags-property
|
|
31
|
+
* @param numberOfAudioTags
|
|
32
|
+
* @default 0
|
|
33
|
+
*/
|
|
34
|
+
readonly setNumberOfSharedAudioTags: (numberOfAudioTags: number) => void;
|
|
29
35
|
};
|
|
30
36
|
readonly Bundling: {
|
|
31
37
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ declare global {
|
|
|
7
7
|
setBundleMode: (bundleMode: BundleState) => void;
|
|
8
8
|
remotion_staticBase: string;
|
|
9
9
|
remotion_editorName: string | null;
|
|
10
|
+
remotion_numberOfAudioTags: number;
|
|
10
11
|
remotion_projectName: string;
|
|
11
12
|
remotion_cwd: string;
|
|
12
13
|
remotion_previewServerCommand: string;
|
package/dist/internals.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ export declare const Internals: {
|
|
|
16
16
|
CompositionManager: import("react").Context<CompositionManagerContext>;
|
|
17
17
|
RemotionRoot: import("react").FC<{
|
|
18
18
|
children: import("react").ReactNode;
|
|
19
|
+
numberOfAudioTags: number;
|
|
19
20
|
}>;
|
|
20
21
|
useVideo: () => {
|
|
21
22
|
height: number;
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "3.3.
|
|
1
|
+
export declare const VERSION = "3.3.2";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "remotion",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.2",
|
|
4
4
|
"description": "Render videos in React",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"publishConfig": {
|
|
56
56
|
"access": "public"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "d7422b5d86e4766a4cdb0bc4e291e462a6bf8bb6"
|
|
59
59
|
}
|