Video
The flower fades in at full color and takes on a copper tint as it shrinks. The insect slides in with a teal tint. Both rounded panels use cover to crop their clips. The insect regains its original colors as its panel expands, squares off its corners, and fades out. Drag the timeline to inspect the transition or edit Playback speed to change the speed of both clips.
Flower clip from MDN and bumblebee clip by Роман Рябенко, CC0.
Timing and sources
The clip starts when its layer appears. offset selects the starting point in the source. A rate of 1 plays at the source speed and 0.5 plays at half speed. Use loop=true to repeat the clip. With looping off, the last frame holds for the rest of the layer. Video contributes the clip's pictures to the scene. Add audio separately in Shrimply.
Use a path relative to the scene for a local file. For a remote clip in the browser, use a seekable HTTPS URL that allows cross-origin requests and exposes the Content-Range response header.
Style a clip
Set fit="cover" for a centered crop and use the same border and opacity controls as Image. Add effects to adjust the rendered clip.
<Video src="clips/water.mp4" width={60%} height={50%} fit="cover" rounded-lg
effects={[Effect.color_correction(exposure=0.3, saturation=0.8)]}/>
wait(4s)