Video Download
vdl
When used with the Video API, vdl
will force the browser to download the video. Set the value to your desired filename. If no value is set, the downloaded image filename will be identical to the original.
This can be used to create a button that downloads a video file. Example:
<a
href="https://assets.imgix.video/videos/girl-reading-book-in-library.mp4?vdl=girl-reading-book&fm=mp4&res=medium"
>
Download
</a>
The default output is m3u8
, and the default resolution is high
.
The output filetype of the video file can be controlled with the fm
parameter, while the resolution can be controlled with the res
parameter.