🎥 Make videos programmatically with React
Merge branch 'main' into transitions
Jonny Burger1a419b3cf128
diff --cc packages/core/src/index.tsindex e7c2559da6,7e4ed24952..01ce6c78c2--- a/packages/core/src/index.ts+++ b/packages/core/src/index.ts@@@ -65,9 -65,10 +65,10 @@@ export * from './internals'export * from './interpolate';export {interpolateColors} from './interpolate-colors';export {Loop} from './loop';+ export {prefetch} from './prefetch';export * from './random';export {registerRoot} from './register-root';-export {Sequence} from './Sequence';+export {Sequence, SequenceProps} from './Sequence';export {Series} from './series';export * from './spring';export {staticFile} from './static-file';diff --cc packages/example/src/Video.tsxindex 662fa08a1b,7030412b81..4c15848a2b--- a/packages/example/src/Video.tsx+++ b/packages/example/src/Video.tsx@@@ -21,9 -21,9 +21,10 @@@ import {SkipZeroFrame} from './SkipZeroimport {BaseSpring, SpringWithDuration} from './Spring/base-spring';import {SeriesTesting} from './StaggerTesting';import {StaticDemo} from './StaticServer';+ import {StillZoom} from './StillZoom';import {TenFrameTester} from './TenFrameTester';import ThreeBasic from './ThreeBasic';+import {BasicTransition} from './Transitions';import {VideoOnCanvas} from './VideoOnCanvas';import {Greenscreen} from './VideoOnCanvas/greenscreen';import {VideoSpeed} from './VideoSpeed';@@@ -495,16 -502,32 +504,42 @@@ export const Index: React.FC = () =>width={1080}/></Folder>+ <Folder name="transitions">+ <Composition+ id="basic"+ component={BasicTransition}+ height={1080}+ width={1080}+ durationInFrames={900}+ fps={30}+ />+ </Folder>+ <Folder name="gif">+ <Composition+ id="gif"+ lazyComponent={() => import('./GifTest')}+ width={1080}+ height={1080}+ fps={30}+ durationInFrames={150}+ />+ <Composition+ id="gif-duration"+ lazyComponent={() => import('./GifTest/gif-duration')}+ width={1080}+ height={1080}+ fps={30}+ durationInFrames={150}+ />+ <Composition+ id="gif-fill-modes"+ lazyComponent={() => import('./GifTest/fill-modes')}+ width={1920}+ height={1080}+ fps={30}+ durationInFrames={150}+ />+ </Folder></>);};diff --cc pnpm-lock.yamlindex e833ff7361,81dbca2219..b77d070fb1--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@@ -689,9 -697,9 +697,9 @@@ importersprettier-plugin-organize-imports: 2.3.4_pxx7xhvr2bexxfjjff3nukai7mreact: 18.0.0react-dom: [email protected]- ts-jest: 27.0.5_h5rbqvnmqo6ezjz2gx5x5dlwkm+ ts-jest: 27.0.5_g2mfyom6zaxqcgedxrl4lakegutypescript: 4.7.2- webpack: 5.72.0+ webpack: 5.74.0packages/player-example:specifiers:@@@ -862,41 -872,16 +872,41 @@@three: 0.134.0typescript: 4.7.2+ packages/transitions:+ specifiers:+ '@jonny/eslint-config': 3.0.259+ '@types/react': ^18.0.12+ '@types/react-dom': ^18.0.5+ eslint: 8.13.0+ prettier: ^2.0.5+ prettier-plugin-organize-imports: ^2.3.4+ react: 18.0.0+ react-dom: 18.0.0+ remotion: 3.0.29+ typescript: ^4.5.5+ dependencies:+ remotion: 3.0.29_zpnidt7m3osuk7shl3s4oenomq+ devDependencies:+ '@jonny/eslint-config': 3.0.259_6hvhxfirl4y3p6nuemvvvbadcu+ '@types/react': 18.0.12+ '@types/react-dom': 18.0.5+ eslint: 8.13.0+ prettier: 2.6.2+ prettier-plugin-organize-imports: 2.3.4_lbsuufegg2dnc4wh6qgf26kgdy+ react: 18.0.0+ react-dom: [email protected]+ typescript: 4.7.2+packages:- /@algolia/autocomplete-core/1.5.2:- resolution: {integrity: sha512-DY0bhyczFSS1b/CqJlTE/nQRtnTAHl6IemIkBy0nEWnhDzRDdtdx4p5Uuk3vwAFxwEEgi1WqKwgSSMx6DpNL4A==}+ /@algolia/autocomplete-core/1.7.1:+ resolution: {integrity: sha512-eiZw+fxMzNQn01S8dA/hcCpoWCOCwcIIEUtHHdzN5TGB3IpzLbuhqFeTfh2OUhhgkE8Uo17+wH+QJ/wYyQmmzg==}dependencies:- '@algolia/autocomplete-shared': 1.5.2+ '@algolia/autocomplete-shared': 1.7.1dev: false- /@algolia/autocomplete-preset-algolia/1.5.2_pe4mmkxz4lrzbc23auwoemc3cm:- resolution: {integrity: sha512-3MRYnYQFJyovANzSX2CToS6/5cfVjbLLqFsZTKcvF3abhQzxbqwwaMBlJtt620uBUOeMzhdfasKhCc40+RHiZw==}+ /@algolia/autocomplete-preset-algolia/1.7.1_qs6lk5nhygj2o3hj4sf6xnr724:+ resolution: {integrity: sha512-pJwmIxeJCymU1M6cGujnaIYcY3QPOVYZOXhFkWVM7IxKzy272BwCvMFMyc5NpG/QmiObBxjo7myd060OeTNJXg==}peerDependencies:'@algolia/client-search': ^4.9.1algoliasearch: ^4.9.1@@@ -9435,24 -8465,32 +8510,32 @@@/@types/react-router-config/5.0.3:resolution: {integrity: sha512-38vpjXic0+E2sIBEKUe+RrCmbc8RqcQhNV8OmU3KUcwgy/yzTeo67MhllP+0zjZWNr7Lhw+RnUkL0hzkf63nUQ==}dependencies:- '@types/history': 4.7.9+ '@types/history': 4.7.11- '@types/react': 18.0.1++ '@types/react': 18.0.12+ '@types/react-router': 5.1.17+ dev: false++ /@types/react-router-config/5.0.6:+ resolution: {integrity: sha512-db1mx37a1EJDf1XeX8jJN7R3PZABmJQXR8r28yUjVMFSjkmnQo6X6pOEEmNl+Tp2gYQOGPdYbFIipBtdElZ3Yg==}+ dependencies:+ '@types/history': 4.7.11- '@types/react': 18.0.1+ '@types/react': 18.0.12'@types/react-router': 5.1.17dev: false/@types/react-router-dom/5.3.1:resolution: {integrity: sha512-UvyRy73318QI83haXlaMwmklHHzV9hjl3u71MmM6wYNu0hOVk9NLTa0vGukf8zXUqnwz4O06ig876YSPpeK28A==}dependencies:- '@types/history': 4.7.9+ '@types/history': 4.7.11- '@types/react': 18.0.1+ '@types/react': 18.0.12'@types/react-router': 5.1.17dev: false/@types/react-router/5.1.17:resolution: {integrity: sha512-RNSXOyb3VyRs/EOGmjBhhGKTbnN6fHWvy5FNLzWfOWOGjgVUKqJZXfpKzLmgoU8h6Hj8mpALj/mbXQASOb92wQ==}dependencies:- '@types/history': 4.7.9+ '@types/history': 4.7.11- '@types/react': 18.0.1+ '@types/react': 18.0.12dev: false/@types/react/18.0.1: