> 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/video-parameters/ptz.md).

# \&ptz

Enables pan/tilt/zoom control of the device, if compatible

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

## Details

Enables pan/tilt/zoom control of the device, if compatible.

This will trigger a new permission popup though.

Can be added to a guest's URL in a room. Then the director can manually change pan, tilt and zoom for the guest's camera via the video settings menu.

Can also be added to a simple push link, then you can change pan, tilt and zoom in the video settings. To allow a viewer to control PTZ directly, add `&remote` to both the sender and viewer links (optionally with a matching passcode).\
![](https://2943598173-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZHXv1G8N0MDxwotaT9%2Fuploads%2Fo1gvaskr6W143yEUY0QD%2Fimage.png?alt=media\&token=316180b9-be15-43fe-b52b-edd409b57b22)

The dedicated PTZ controller is available at: `https://vdo.ninja/ptz.html`

`ptz.html` supports additional URL setup flags (stage mode, preview controls, overlay options). See the dedicated parameter list in: [`PTZ Remote Control`](/guides/ptz-remote-control.md)

For API/automation workflows, `targetGuest` supports PTZ actions: `ptzZoom`, `ptzPan`, `ptzTilt`, `ptzFocus`, `ptzAutofocus`.

The dedicated PTZ surface and API also support remote output transforms: `remoteMirror` (aliases: `mirror`, `mirrorGuest`) and `remoteRotate` (aliases: `rotate`, `rotateGuest`).

{% hint style="info" %}
Chrome blocks PTZ changes when the sender page is hidden. Keep the sender visible on screen if controls appear to do nothing or you see "page is not visible" errors.
{% endhint %}

{% content-ref url="/pages/cp9hiHim4S9Os8wCVOut" %}
[PTZ remote control](/guides/ptz-remote-control.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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.vdo.ninja/advanced-settings/video-parameters/ptz.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
