Screen Sharing

Auto-select screens and windows without user prompts for automated workflows.

Enabling Screen Share

Screen sharing requires elevated privileges. Enable with:

elecap.exe --node 1 --url="https://vdo.ninja/..."

Or right-click in the app and select Elevate Privileges from the context menu.

Security Note: Elevated privileges allow websites to access Node.js APIs. Only use with trusted sites like VDO.Ninja.

Auto-Select Screens

A unique feature of Electron Capture is auto-selecting screens without user interaction. Add &ss= to your VDO.Ninja URL:

Select by Display Number

# Select primary display
elecap.exe --node 1 --url="https://vdo.ninja/?ss=1&autostart"

# Select second display
elecap.exe --node 1 --url="https://vdo.ninja/?ss=2&autostart"

Select by Window Name

# Auto-select Discord window
elecap.exe --node 1 --url="https://vdo.ninja/?ss=Discord&autostart"

# Auto-select a game
elecap.exe --node 1 --url="https://vdo.ninja/?ss=Minecraft&autostart"

Tip: The window name matching is case-insensitive and matches partial names.

Audio-Only Screen Share

You can share only audio without video when screen sharing:

elecap.exe --node 1 --url="https://vdo.ninja/?ss=1&autostart&novideo"

Cursor Suppression (Windows Custom Build)

Hide the cursor from screen captures while keeping it visible locally:

elecap.exe --node 1 --hideCursorCapture --url="https://vdo.ninja/?ss=1"

Or use the JavaScript API:

const stream = await navigator.mediaDevices.getDisplayMedia({
  video: { cursor: 'never' }
});

macOS Permissions

On macOS 10.15 Catalina or later, you need to grant screen recording permission:

  1. Open System Preferences > Security & Privacy
  2. Click the Privacy tab
  3. Select Screen Recording in the left sidebar
  4. Check the box next to Electron Capture

Note: Desktop audio capture is not supported on macOS due to Electron limitations.