# \&locked

Viewer-Side Option! ([`&scene`](https://docs.vdo.ninja/advanced-settings/mixer-scene-parameters/scene))

## 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)\
![](https://2943598173-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZHXv1G8N0MDxwotaT9%2Fuploads%2F0CBiYyWu2Yq9Cg0iqvlr%2Fimage.png?alt=media\&token=260cc651-09a6-4e44-a75b-30184a579490)![](https://2943598173-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZHXv1G8N0MDxwotaT9%2Fuploads%2FlK0wFzq6JbVf48rKvIqT%2Fimage.png?alt=media\&token=3315acb4-05ff-4540-9be3-0a16eb0c1153)

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`](https://docs.vdo.ninja/advanced-settings/settings-parameters/and-widget) mode might break things though).

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

## Related

{% content-ref url="../design-parameters/and-structure" %}
[and-structure](https://docs.vdo.ninja/advanced-settings/design-parameters/and-structure)
{% endcontent-ref %}

{% content-ref url="../video-parameters/and-aspectratio" %}
[and-aspectratio](https://docs.vdo.ninja/advanced-settings/video-parameters/and-aspectratio)
{% endcontent-ref %}
