Capítulo 184 de 988
The <Audio /> and <Video /> tags support the trimBefore and trimAfter props. <Html5Audio /> also supports these props.
<Audio /> and <Video /> tags support the trimBefore and trimAfter props.export const MyComposition = () => {
const {fps} = useVideoConfig();
return (
<AbsoluteFill>
<Video src={staticFile('video.mp4')} trimBefore={2 * fps} trimAfter={4 * fps} />
</AbsoluteFill>
);
};