PlaybackEffectTrait
trait PlaybackEffectTrait
Trait PlaybackEffectTrait
Methods
Changes the speed of the video playback.
Causes a video clip to play forwards and then backwards.
Delivers a video that contains additional loops of the video.
Plays the video or audio file in reverse.
Indicates that the video overlay is to be used as a transition between the base and second video.
Details
static Accelerate
accelerate(int $rate = null)
Changes the speed of the video playback.
static EffectAction
boomerang()
Causes a video clip to play forwards and then backwards.
Use in conjunction with trimming qualifiers ('duration', 'start_offset', or 'end_offset') and the 'loop' effect to deliver a classic (short, repeating) boomerang clip. For details and examples, see 'Create a boomerang video clip' in the Video Transformations guide.
static Loop
loop(int $additionalIterations = null)
Delivers a video that contains additional loops of the video.
The total number of iterations is the number of additional loops plus one.
For animated images (GIF), see Animated::edit()->loop().
static EffectAction
reverse()
Plays the video or audio file in reverse.
static EffectAction
volume(int|Volume $level)
Increases or decreases the volume by a percentage of the current volume.
Also see \Cloudinary\Transformation\Volume for different ways to change the volume.
static EffectAction
transition()
Indicates that the video overlay is to be used as a transition between the base and second video.