> For the complete documentation index, see [llms.txt](https://docs.vdo.ninja/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vdo.ninja/advanced-settings/mixer-scene-parameters/and-locked.md).

# \&locked

Viewer-Side Option! ([`&scene`](/advanced-settings/mixer-scene-parameters/scene.md))

## Options

Example: `&locked=portrait`

<table><thead><tr><th width="294">Value</th><th>Description</th></tr></thead><tbody><tr><td><code>landscape</code> | (no value given)</td><td>16:9 aspect ratio</td></tr><tr><td><code>portrait</code></td><td>9:16 aspect ratio</td></tr><tr><td><code>square</code></td><td>1:1 aspect ratio</td></tr><tr><td><code>1.77777</code></td><td>aspect ratio</td></tr></tbody></table>

## Details

`&locked` will force a the VDO.Ninja's mixer output keep the mixed render contained to a specific aspect-ratio, regardless of the browser's window size. (as seen in photo)\
![](/files/P08qGLn5au3cCdQrIxvp)![](/files/9LVrDnn0FSm0ISforYNY)

You'll get black bars (or whatever the background color is) as padding on the sides to force the inner video elements into the desired aspect ratio

When using `&locked`, the default aspect ratio is 16:9, but you can pass a floating point value for different aspect ratios, or use `landscape` (instead of `1.77777`) / `portrait` / `square` as presets if needed.

Padding is centered, so the rendered video will be in the center of the screen. (tho using [`&widget`](/advanced-settings/settings-parameters/and-widget.md) mode might break things though).

This `&locked` option is added to the [Mixer App](/steves-helper-apps/mixer-app.md)'s WHIP/**Twitch publishing output option**, so regardless of window size, you'll get a 16:9 video render.

## Related

{% content-ref url="/pages/9cz57gsDjoS4UT6rIXEj" %}
[\&structure](/advanced-settings/design-parameters/and-structure.md)
{% endcontent-ref %}

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.vdo.ninja/advanced-settings/mixer-scene-parameters/and-locked.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
