# Is it possible to activate subtitles on loading

**URL:** <https://community.bitmovin.com/t/is-it-possible-to-activate-subtitles-on-loading/1949>\
**Category:** Support\
**Created:** [April 25, 2023, 5:14pm UTC](https://community.bitmovin.com/t/is-it-possible-to-activate-subtitles-on-loading/1949 "2023-04-25T17:14:53Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![lucky.goyal](https://sea1.discourse-cdn.com/flex015/user_avatar/community.bitmovin.com/lucky.goyal/32/506_2.png) [@lucky.goyal](https://community.bitmovin.com/u/lucky.goyal)\
**Post date:** [April 25, 2023, 5:51pm UTC](https://community.bitmovin.com/t/is-it-possible-to-activate-subtitles-on-loading/1949/2 "2023-04-25T17:51:28Z")

</div>

Hi @jean-sebastien.rouet , thanks for your question. Yes it is possible to achieve this.

- Bitmovin player exposes [SubtitleAdded](https://cdn.bitmovin.com/player/web/8/docs/enums/core_events.playerevent.html#subtitleadded) event. This event is fired by player when a subtitle track is added/detected by player and is available for use. Application can listen to it and use [player.subtitles.enable](https://cdn.bitmovin.com/player/web/8/docs/interfaces/subtitles.playersubtitlesapi.html#enable) API to enable the subtitle without user action.

- In case multiple subtitle tracks are present and application needs to select one to enable, app can call [player.subtitles.list](https://cdn.bitmovin.com/player/web/8/docs/interfaces/subtitles.playersubtitlesapi.html#list) API to list all available subtitles and call [player.subtitles.enable](https://cdn.bitmovin.com/player/web/8/docs/interfaces/subtitles.playersubtitlesapi.html#enable) API to enable the desired subtitle out of the list. Please make sure to call `list` API after player has entered [SourceLoaded](https://cdn.bitmovin.com/player/web/8/docs/enums/core_events.playerevent.html#sourceloaded) or [Ready](https://cdn.bitmovin.com/player/web/8/docs/enums/core_events.playerevent.html#ready) state.

- Similarly, subtitles can be disabled via API [player.subtitles.disable](https://cdn.bitmovin.com/player/web/8/docs/interfaces/subtitles.playersubtitlesapi.html#disable)

- Additionally there are events [SubtitleEnabled](https://cdn.bitmovin.com/player/web/8/docs/enums/core_events.playerevent.html#subtitleenabled) and [SubtitleDisabled](https://cdn.bitmovin.com/player/web/8/docs/enums/core_events.playerevent.html#subtitledisabled) to check programatically when subtitles are enabled and disabled respectively.

Please take a look as [SubtitleAPI](https://cdn.bitmovin.com/player/web/8/docs/interfaces/subtitles.playersubtitlesapi.html) and [PlayerEvents](https://cdn.bitmovin.com/player/web/8/docs/enums/core_events.playerevent.html) documentation for other subtitle related information.

---

_[View the full topic](https://community.bitmovin.com/t/is-it-possible-to-activate-subtitles-on-loading/1949)._
