<Freeze>
Holds one frame of its clip for a while, then plays on.
tsx
import { Clip, Composition, Freeze, Track } from "@cutcraft/kit";
export default function Video() {
return (
<Composition fps={30} width={960} height={540}>
<Track id="main">
{/* At 1 s into the clip, hold the source's frame at 1 s for one second, then play on. */}
<Clip id="shot" src="asset:cells" in={0} out={3} fit="cover">
<Freeze id="hold" at={1} start={1} duration={1} />
</Clip>
</Track>
</Composition>
);
}Props
| prop | type | default | required |
|---|---|---|---|
id | string | yes | |
at | number (0..∞) | yes | |
start | number (0..∞) | yes | |
duration | number | yes |
No children. All elements