Skip to content

🎥 Make videos programmatically with React

Merge branch 'main' into stagger-component

Jonny Burgerb637ca66881d
diff --cc TESTING.md
index a42c56e176,cc221f7731..4387d4a9c9
--- a/TESTING.md
+++ b/TESTING.md
@@@ -1,12 -1,12 +1,13 @@@
# Testing
++
For general information concerning contribution, please consult [CONTRIBUTION.md](./CONTRIBUTING.md).
### Core Coverage
- ![statements](https://img.shields.io/badge/Coverage_statements-80.83%25-yellow.svg)
- ![branches](https://img.shields.io/badge/Coverage_branches-76.56%25-yellow.svg)
- ![functions](https://img.shields.io/badge/Coverage_functions-65.45%25-red.svg)
-![statements](https://img.shields.io/badge/Coverage_statements-79.22%25-yellow.svg)
-![branches](https://img.shields.io/badge/Coverage_branches-74.07%25-yellow.svg)
-![functions](https://img.shields.io/badge/Coverage_functions-63.9%25-red.svg)
-![lines](https://img.shields.io/badge/Coverage_lines-78.1%25-yellow.svg)
++![statements](https://img.shields.io/badge/Coverage_statements-80.83%25-yellow.svg)
++![branches](https://img.shields.io/badge/Coverage_branches-76.56%25-yellow.svg)
++![functions](https://img.shields.io/badge/Coverage_functions-65.45%25-red.svg)
+![lines](https://img.shields.io/badge/Coverage_lines-79.9%25-yellow.svg)
### Running tests
@@@ -43,4 -43,4 +44,3 @@@ In case you run into error on _Windows
After running Stryker you can find the report under `packages/core/reports/mutation` and see how many mutants have been killed by your test cases and how many have survived.
Once you have checked your test code quality with the help of mutation testing, make sure to omit any Stryker related changes from your code before contributing.
--
diff --cc packages/core/src/index.ts
index d0bab87dd4,edf44ede2b..39111f735a
--- a/packages/core/src/index.ts
+++ b/packages/core/src/index.ts
@@@ -27,8 -34,8 +34,9 @@@ export * from './random'
export * from './ready-manager';
export {registerRoot} from './register-root';
export {Sequence} from './sequencing';
+export {Series} from './series';
export * from './spring';
+ export * from './Still';
export * from './use-frame';
export * from './use-video-config';
export * from './video';
diff --cc packages/example/src/Video.tsx
index 35cea7828a,1b57b8b1aa..709f8facc3
--- a/packages/example/src/Video.tsx
+++ b/packages/example/src/Video.tsx
@@@ -5,7 -5,7 +5,8 @@@ import {ColorInterpolation} from './Col
import {Framer} from './Framer';
import {MissingImg} from './MissingImg';
import RemoteVideo from './RemoteVideo';
+ import {SkipZeroFrame} from './SkipZeroFrame';
+import {SeriesTesting} from './StaggerTesting';
import {TenFrameTester} from './TenFrameTester';
import ThreeBasic from './ThreeBasic';
import {VideoSpeed} from './VideoSpeed';
@@@ -253,14 -253,14 +254,22 @@@ export const Index: React.FC = () =>
fps={30}
durationInFrames={100}
/>
+ <Composition
+ id="skip-zero-frame"
+ component={SkipZeroFrame}
+ width={1280}
+ height={720}
+ fps={30}
+ durationInFrames={100}
+ />
+ <Composition
+ id="stagger-test"
+ component={SeriesTesting}
+ width={1280}
+ height={720}
+ fps={30}
+ durationInFrames={100}
+ />
</>
);
};