Skip to content

Zooming in and out over the duration of the video #639

Answered by Iamshankhadeep
MDrooker asked this question in Q&A
Discussion options

You must be logged in to vote

@MDrooker we do support array on interpolate so you can try this.

        interpolate(frame,
            [0, durationInFrames / 4, 2*(durationInFrames / 4), 3 * (durationInFrames / 4), durationInFrames ], [1, 1.2, 1, 1.2, 1],
            { extrapolateRight: 'clamp' });

Note:

This is a Remotion2.0 feature
Doc
let me know if it helps.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MDrooker
Comment options

Answer selected by Iamshankhadeep
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants