🎥 Make videos programmatically with React
add to testbed
Jonny Burger22abe8978fd6
diff --git a/packages/bugs/api/[v].ts b/packages/bugs/api/[v].tsindex 12c97cca70..2c91da0edf 100644--- a/packages/bugs/api/[v].ts+++ b/packages/bugs/api/[v].ts@@ -21,6 +21,13 @@ const bugs: Bug[] = [link: "https://github.com/remotion-dev/remotion/pull/2882",versions: ["4.0.33", "4.0.34", "4.0.35", "4.0.36"],},+ {+ title: "<Thumbnail> component would crash",+ description:+ "<Thumbnail> component in a React app would crash if a <Sequence> was used.",+ link: "https://github.com/remotion-dev/remotion/pull/2944",+ versions: ["4.0.43", "4.0.42"],+ },];const getVersionBugs = (version: string) => {diff --git a/packages/player-example/src/CarSlideshow.tsx b/packages/player-example/src/CarSlideshow.tsxindex 4ba8854de3..d920253885 100644--- a/packages/player-example/src/CarSlideshow.tsx+++ b/packages/player-example/src/CarSlideshow.tsx@@ -58,19 +58,21 @@ const CarSlideshow = ({title, bgColor, color}: Props) => {}}><Experimental.Clipper height={100} width={100} x={0} y={0} />- <h1- style={{- fontSize: '5em',- fontWeight: 'bold',- position: 'absolute',- top: height / 2 - 100,- left,- color,- whiteSpace: 'nowrap',- }}- >- {title} {dummyText()}- </h1>+ <Sequence>+ <h1+ style={{+ fontSize: '5em',+ fontWeight: 'bold',+ position: 'absolute',+ top: height / 2 - 100,+ left,+ color,+ whiteSpace: 'nowrap',+ }}+ >+ {title} {dummyText()}+ </h1>+ </Sequence><Imgsrc={staticFile('/logo.png')}style={{