---
metadata:
  - name: generator
    content: Diplodoc Platform v5.64.0
alternate:
  - https://divkit.tech/docs/en/concepts/divs/2/div-video-source.md
  - https://divkit.tech/docs/ru/concepts/divs/2/div-video-source.md
  - href: https://divkit.tech/docs/en/concepts/divs/2/div-video-source.md
    type: text/markdown
    title: Markdown version
  - href: https://divkit.tech/docs/en/llms.txt?revision=r21749084
    rel: describedby
---
> **Documentation Index:** Fetch the complete configuration index at https://divkit.tech/docs/en/llms.txt?revision=r21749084

# div-video-source
No description yet.

## Parameters
| Parameters | Description |
| --- | --- |
| `mime_type` | <p>**string**</p><p>Required parameter.</p><p>MIME type (Multipurpose Internet Mail Extensions): A string that defines the file type and helps process it correctly.</p> |
| `type` | <p>**string**</p><p>Required parameter.</p><p>The value must always be `video_source`.</p> |
| `url` | <p>**string**</p><p>Required parameter.</p><p>Link to the media file available for playback or download.</p><p>The value must be a valid URL.</p> |
| `bitrate` | <p>**int**</p><p>Media file bitrate: Data transfer rate in a video stream, measured in kilobits per second (kbps).</p> |
| `resolution` | <p>**object**</p><p>Media file resolution.</p><p>The value has the type `resolution`.</p> |

### resolution
| Parameters | Description |
| --- | --- |
| `height` | <p>**int**</p><p>Required parameter.</p><p>Media file frame height.</p><p>Restriction for the value `x`: `x > 0`.</p> |
| `type` | <p>**string**</p><p>Required parameter.</p><p>The value must always be `resolution`.</p> |
| `width` | <p>**int**</p><p>Required parameter.</p><p>Media file frame width.</p><p>Restriction for the value `x`: `x > 0`.</p> |

<details>
<summary>JSON</summary>

```json
{
  type*: "video_source",
  bitrate: "int",
  mime_type*: "string",
  resolution: {
    type*: "resolution",
    height*: "int",
    width*: "int"
  },
  url*: "string"
}
```
</details>
