Skip to content

🎥 Make videos programmatically with React

Update SharedPlayerContext.tsx

Jonny Burger9480d831e1b7
diff --git a/packages/player/src/SharedPlayerContext.tsx b/packages/player/src/SharedPlayerContext.tsx
index a6235944d6..13307f5f01 100644
--- a/packages/player/src/SharedPlayerContext.tsx
+++ b/packages/player/src/SharedPlayerContext.tsx
@@ -8,7 +8,7 @@ import type {
SetMediaVolumeContextValue,
TimelineContextValue,
} from 'remotion';
-import {Internals} from 'remotion';
+import {Internals, z} from 'remotion';
import {getPreferredVolume, persistVolume} from './volume-persistance.js';
export const SharedPlayerContexts: React.FC<{
@@ -50,6 +50,7 @@ export const SharedPlayerContexts: React.FC<{
folderName: null,
defaultProps: undefined,
parentFolderName: null,
+ schema: z.any(),
},
],
folders: [],