Imgix APIsVideo APIClipVideo Clip Start

Video Clip Start

video-clip-start

Defines the start time of the clip in seconds.

This parameter specifies the starting point of a video clip. If set to video-clip-start=5, the video clip will start at the 5 second mark.

Can be used in conjunction with video-clip-end to clip a specific segment of a video.

Can also be used with video-clip-duration to define the length of the clip.

When no other video-clip-* parameters are specified, the video will play from the start time to the end of the video.

Percentage Offsets

video-clip-start also accepts a percentage of the video’s total duration instead of an absolute second value. Append a % suffix to the numeric value.

Because % is a reserved character in URLs, it must be percent-encoded as %25 in query strings. A value of 25% is written as 25%25 in the URL.

https://assets.imgix.net/videos/girl-reading-book-in-library.mp4?fm=mp4&video-clip-start=25%25&video-clip-end=75%25

This starts the clip at the 25% mark of the video’s total duration, regardless of how long the video is.