# showCaptions()

Shows the captions (automatic subtitles) panel at the bottom of the screen.

```javascript
sambaFrame.showCaptions();
```

{% hint style="warning" %}
Note that captions functionality must be enabled in the settings of your room, otherwise this method won't be able to do anything meaningful. To enable captions through REST API use the **captions\_enabled** boolean field when [creating](https://docs.digitalsamba.com/reference/rest-api/rooms/create) or [editing](https://docs.digitalsamba.com/reference/rest-api/rooms/edit) your room.
{% endhint %}

**Sample use case**: \
Have a completely custom toolbar in your integration and you want user to be able to show/hide captions panel from a custom button in your toolbar.

{% hint style="info" %}
**showCaptions** is often used in conjuction with [hideCaptions](https://docs.digitalsamba.com/reference/sdk/methods/hidecaptions) method.
{% endhint %}
