# \&screenshare

Sender-Side Option! ([`&push`](https://docs.vdo.ninja/advanced-settings/setup-parameters/push))

## Aliases

* `&ss`

## Details

`&screenshare` will allow the guest to screen share by being directly asked to share a screen or window instead of being taken to the camera/screenshare selection screen.\
![](https://2943598173-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZHXv1G8N0MDxwotaT9%2Fuploads%2FnFPkAP5OE77eSpzjTPYL%2Fimage.png?alt=media\&token=6fe60c9b-0d76-4216-889e-7d2adc52895c)

Starting with [v19](https://docs.vdo.ninja/releases/v19) of VDO.Ninja, there is also the [`&screenshare2`](https://docs.vdo.ninja/advanced-settings/setup-parameters/and-screenshare2) option; a minor UI variant that requires an additional button press, but more clearly preps the guest to the fact they will be sharing their screen.

#### Using `&screenshare` with the [Electron Capture App](https://docs.vdo.ninja/steves-helper-apps/electron-capture)

When using the Electron Capture App you have to "Elevate Privileges" to be able to share a window or screen. You can enable Elevated Privileges for the Electron App via the command line with `--node true` or in the app by right-clicking and selecting "Elevate Privileges" from the context-menu.

One unique feature about the [Electron Capture App](https://docs.vdo.ninja/steves-helper-apps/electron-capture) is that it can auto-select a screen or window when screen-sharing with VDO.Ninja, without user-input.\
For example:\
`&screenshare=1` for the main display\
`&screenshare=2` for the second display\
`&screenshare=discord` for the Discord application\
`&screenshare=googlechrome` for the Chrome Browser

## Related

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

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

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

{% embed url="<https://github.com/steveseguin/electroncapture>" %}
