🎥 Make videos programmatically with React
support ID for GIF and OffthreadVideo
Jonny Burger6b2ea3ebaa64
diff --git a/packages/core/src/video/props.ts b/packages/core/src/video/props.tsindex ea6aaba020..82f8dab7a3 100644--- a/packages/core/src/video/props.ts+++ b/packages/core/src/video/props.ts@@ -24,6 +24,7 @@ export type OffthreadVideoImageFormat = 'png' | 'jpeg';export type OffthreadVideoProps = {src: string;className?: string;+ id?: string;style?: React.CSSProperties;volume?: VolumeProp;playbackRate?: number;diff --git a/packages/gif/src/props.ts b/packages/gif/src/props.tsindex 5f2f83d236..01f5b77647 100644--- a/packages/gif/src/props.ts+++ b/packages/gif/src/props.ts@@ -17,6 +17,7 @@ export type RemotionGifProps = {fit?: GifFillMode;style?: React.CSSProperties;loopBehavior?: GifLoopBehavior;+ id?: string;};export type GifState = {