> ## Documentation Index
> Fetch the complete documentation index at: https://docs.daily.co/llms.txt
> Use this file to discover all available pages before exploring further.

# addFakeParticipant()

> Add a fake video participant to a call for testing layout and UI.

`addFakeParticipant(details?)`

✓ Prebuilt✓ Custom

Adds a fake participant with a synthetic video stream to the local call view. The fake participant exists only on the local client — they are not an actual participant in the call and are not visible to others. This is a convenience method for building and testing your UI without needing additional real devices or browser tabs.

## Parameters

**details.aspectRatio** `number`

Optional. The aspect ratio of the fake video stream. Supported values are `16/9`, `3/4`, and `4/3`. Defaults to `16/9`.

## Return value

Returns `this` (the `DailyCall` instance), allowing method chaining.

## Example

```javascript theme={null}
// Add one fake participant with default 16:9 aspect ratio
call.addFakeParticipant();

// Add multiple fake participants to test grid layout
call.addFakeParticipant()
    .addFakeParticipant()
    .addFakeParticipant({ aspectRatio: 4/3 });
```

## See also

> [card] Methods
>
> * [participants()](https://docs.daily.co/reference/daily-js/instance-methods/participants.md)

> [card] Events
>
> * [participant-joined](https://docs.daily.co/reference/daily-js/events/participant-events.md#participant-joined)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.