Imgix APIsVideo APIText OverlaysText Overlay Transition

Text Overlay Transition

video-txt-transition

Sets the animation for a text overlay when it enters and exits. By default, the exit mirrors the entrance — a slideup slides the text in from below and slides it back out to the bottom when it leaves.

video-txt-transition accepts one of the values below. The transition duration defaults to 0.3 seconds and is controlled by video-txt-transition-dur. To override entrance and exit independently, use video-txt-transition-in and video-txt-transition-out. Use video-txt-transition[N] to control the transition for a specific text layer.

The mirrored exit reverses the direction of travel — the text exits back the way it entered. This differs from setting video-txt-transition-out explicitly, where slideup exits toward the top of the frame.

ValueEffect
fadeText fades in from transparent; mirrors to fade out
slideupText slides in from below; mirrors to slide out downward
slidedownText slides in from above; mirrors to slide out upward
slideleftText slides in from the right; mirrors to slide out to the right
sliderightText slides in from the left; mirrors to slide out to the left
zoomText scales up from a smaller size; mirrors to scale out
popText scales in with an overshoot snap; mirrors to scale out

If video-txt-start is not set, the transition plays at the very beginning of the video.