Function: gif2videoUrl()
ts
function gif2videoUrl(
cdnBase,
uuid,
operations?
): string;Defined in: gif2video/gif2video-url.ts:16
Builds an on-the-fly gif2video CDN URL: /:uuid/gif2video/-/.../ (note: no -/ between the uuid and the prefix). The source file must be an animated image.
Parameters
| Parameter | Type | Default value |
|---|---|---|
cdnBase | string | undefined |
uuid | string | undefined |
operations? | readonly CdnOperation[] | [] |
Returns
string
See
https://uploadcare.com/docs/transformations/gif-to-video/
Example
ts
gif2videoUrl('https://ucarecdn.com', uuid, [format('webm')])
// → https://ucarecdn.com/:uuid/gif2video/-/format/webm/