> For the complete documentation index, see [llms.txt](https://docs.digitalsamba.com/reference/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digitalsamba.com/reference/sdk/methods/hidecaptions.md).

# hideCaptions()

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

```javascript
sambaFrame.hideCaptions();
```

**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" %}
Often used in conjunction with [showCaptions](/reference/sdk/methods/showcaptions.md) method.
{% endhint %}
