These options allow you to set additional URL parameters that sets Content-Disposition
HTTP header such that when user accesses the URL via a browser, the video transcode downloads to their device as a file.
The download options are valid only for 'mp4' transcodes (HLS video transcode download is not supported). 'mp4' extension is automatically set for the download file, hence 'format' parameter is not necessary and will be ignored if provided.
The parameters are described below:-
Parameter | Description |
---|---|
delivery | Set this to download |
dl_prefix | Set this to the name of the download file without the extension |
Example downloadable video URL
The URL below will downloads the 480p watermarked video transcode called testvideo.mp4
to user's device.
<<CDN_HOST>>/api/v1/assets/f99255d2bf8142b29561641491e9940c/transcodes/480p-wm-video.mp4?delivery=download&dl_prefix=testvideo