# getVideoTransformUrl

```ts
function getVideoTransformUrl(asset, opts): string | null;
```

Defined in: packages/asset-client/src/transform.ts:313

Build a transform URL for a VIDEO asset. Same DSL shape as image
transforms; the server branches on the asset's `kind` column. Video
URLs use `.mp4` (default) or `.webm` extension and on cache miss the
server returns 202 Accepted while a background job encodes the clip;
subsequent GETs return 302 to the cached object.

  <video src={aq.transformVideo(asset, { width: 1080, height: 1920 })}
         autoPlay muted loop playsInline />

## Parameters

| Parameter | Type |
| ------ | ------ |
| `asset` | [`Pick`](/api/nitida/sdk/react/-internal-/type-aliases/pick/)\<[`AssetDTO`](/api/nitida/asset-client/type-aliases/assetdto/), `"sha"`\> & [`VisibilityHint`](/api/nitida/asset-client/type-aliases/visibilityhint/) |
| `opts` | [`TransformOptions`](/api/nitida/asset-client/type-aliases/transformoptions/) |

## Returns

`string` \| `null`