remotion 3.3.87 → 3.3.88
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.
|
@@ -18,7 +18,11 @@ const useVideoConfig = () => {
|
|
|
18
18
|
if (!videoConfig) {
|
|
19
19
|
if ((typeof window !== 'undefined' && window.remotion_isPlayer) ||
|
|
20
20
|
isPlayer) {
|
|
21
|
-
throw new Error(
|
|
21
|
+
throw new Error([
|
|
22
|
+
'No video config found. Likely reasons:',
|
|
23
|
+
'- You are probably calling useVideoConfig() from outside the component passed to <Player />. See https://www.remotion.dev/docs/player/examples for how to set up the Player correctly.',
|
|
24
|
+
'- You have multiple versions of Remotion installed which causes the React context to get lost.',
|
|
25
|
+
].join('-'));
|
|
22
26
|
}
|
|
23
27
|
throw new Error('No video config found. You are probably calling useVideoConfig() from a component which has not been registered as a <Composition />. See https://www.remotion.dev/docs/the-fundamentals#defining-compositions for more information.');
|
|
24
28
|
}
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "3.3.
|
|
1
|
+
export declare const VERSION = "3.3.88";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/index.mjs
CHANGED
|
@@ -58,7 +58,7 @@ function truthy(value) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
// Automatically generated on publish
|
|
61
|
-
const VERSION = '3.3.
|
|
61
|
+
const VERSION = '3.3.88';
|
|
62
62
|
|
|
63
63
|
const checkMultipleRemotionVersions = () => {
|
|
64
64
|
if (typeof globalThis === 'undefined') {
|
|
@@ -652,7 +652,11 @@ const useVideoConfig = () => {
|
|
|
652
652
|
if (!videoConfig) {
|
|
653
653
|
if ((typeof window !== 'undefined' && window.remotion_isPlayer) ||
|
|
654
654
|
isPlayer) {
|
|
655
|
-
throw new Error(
|
|
655
|
+
throw new Error([
|
|
656
|
+
'No video config found. Likely reasons:',
|
|
657
|
+
'- You are probably calling useVideoConfig() from outside the component passed to <Player />. See https://www.remotion.dev/docs/player/examples for how to set up the Player correctly.',
|
|
658
|
+
'- You have multiple versions of Remotion installed which causes the React context to get lost.',
|
|
659
|
+
].join('-'));
|
|
656
660
|
}
|
|
657
661
|
throw new Error('No video config found. You are probably calling useVideoConfig() from a component which has not been registered as a <Composition />. See https://www.remotion.dev/docs/the-fundamentals#defining-compositions for more information.');
|
|
658
662
|
}
|
package/dist/esm/version.mjs
CHANGED