# \&aspectratio

Sender-Side Option! ([`&push`](/advanced-settings/setup-parameters/push.md))

## Aliases

* `&ar`

## Options

Example: `&aspectratio=1.77777` or `&aspectratio=landscape`

| Value            | Description                     |
| ---------------- | ------------------------------- |
| `landscape`      | aspect ratio of 16:9 (1.777777) |
| `portrait`       | aspect ratio of 9:16 (0.5625)   |
| `square`         | aspect ratio of 1:1 (1)         |
| `1.33333`        | aspect ratio of 4:3             |
| (decimal number) | aspect ratio                    |

## Details

`&aspectratio` changes the aspect ratio on the publisher side. Floating point value; 1.777777 is common; not supported by all browsers.

<https://vdo.ninja/?webcam&aspectratio=1.33333>\
![](/files/J7Z1fJgmfGkTldGo9SzG)

You can also change the aspect ratio via the video settings menu.![](/files/Lr1etvX16XCCiLI41O6M)

If using `&aspectratio`, it will keep the [height](/advanced-settings/video-parameters/and-height.md) constant, and vary width, unless [`&width`](/advanced-settings/video-parameters/and-width.md) is set, which will then be the fixed constant.

### Screen-share

`&aspectratio` works with screen-shares, so you can force crop an incoming screen-share to be a certain aspect ratio. If [`&screenshareaspectratio`](/advanced-settings/screen-share-parameters/and-screenshareaspectratio.md) is used it will apply to just screen-shares. If [`&screenshareaspectratio`](/advanced-settings/screen-share-parameters/and-screenshareaspectratio.md) does not have a value passed, it's assumed to be set as "default", which overrides `&aspectratio` option, if used also.

## Related

{% content-ref url="/pages/tCBgdFWQwSR8m0QTZNjd" %}
[\&screenshareaspectratio](/advanced-settings/screen-share-parameters/and-screenshareaspectratio.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MZXSIoYvjcpLfDbCb8u" %}
[\&quality](/advanced-settings/video-parameters/and-quality.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MZXRA\_jhvR0aFnq3TUg" %}
[\&width](/advanced-settings/video-parameters/and-width.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MZXQf0lGejWaBjc-y-Q" %}
[\&height](/advanced-settings/video-parameters/and-height.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.vdo.ninja/advanced-settings/video-parameters/and-aspectratio.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
