# How to get getAvailableSubtitles in bitmovin player 8

**URL:** <https://community.bitmovin.com/t/how-to-get-getavailablesubtitles-in-bitmovin-player-8/1997>\
**Category:** Support\
**Tags:** bitmovin\
**Created:** [May 24, 2023, 8:55am UTC](https://community.bitmovin.com/t/how-to-get-getavailablesubtitles-in-bitmovin-player-8/1997 "2023-05-24T08:55:39Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![nihar.te](https://avatars.discourse-cdn.com/v4/letter/n/0ea827/32.png) [@nihar.te](https://community.bitmovin.com/u/nihar.te)\
**Post date:** [May 24, 2023, 8:55am UTC](https://community.bitmovin.com/t/how-to-get-getavailablesubtitles-in-bitmovin-player-8/1997/1 "2023-05-24T08:55:40Z")

</div>

I need the updated action for getting the Subtitle and Audio related controls

---

<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:** [May 24, 2023, 9:59am UTC](https://community.bitmovin.com/t/how-to-get-getavailablesubtitles-in-bitmovin-player-8/1997/2 "2023-05-24T09:59:10Z")

</div>

Hi @nihar.te , welcome to Bitmovin community forum and thanks for reaching out with your question.

You can use [Subtitle API’s](https://cdn.bitmovin.com/player/web/8/docs/interfaces/subtitles.playersubtitlesapi.html) [list](https://cdn.bitmovin.com/player/web/8/docs/interfaces/subtitles.playersubtitlesapi.html#list) API to get list of available subtitles.

More information about this can be found at existing community post [Is it possible to activate subtitles on loading - #2 by lucky.goyal](https://community.bitmovin.com/t/is-it-possible-to-activate-subtitles-on-loading/1949/2)

Hope this information helps. Please let us know if there are any further questions on this topic.

---

<div class="post-metadata">

**Author:** ![nihar.te](https://avatars.discourse-cdn.com/v4/letter/n/0ea827/32.png) [@nihar.te](https://community.bitmovin.com/u/nihar.te)\
**Post date:** [May 25, 2023, 4:37am UTC](https://community.bitmovin.com/t/how-to-get-getavailablesubtitles-in-bitmovin-player-8/1997/3 "2023-05-25T04:37:41Z")

</div>

Thank you.  
I need some more reference for custom selection for subtitle, audio change and video quality.

---

<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:** [May 25, 2023, 9:25am UTC](https://community.bitmovin.com/t/how-to-get-getavailablesubtitles-in-bitmovin-player-8/1997/4 "2023-05-25T09:25:59Z")

</div>

Hi @nihar.te , in general you can search Bitmovin web player API reference at [Bitmovin Player API 8.118.0](https://cdn.bitmovin.com/player/web/8/docs/index.html) for any APIs and events.

You can use search bar at the top to search for specific keywords like audio video quality and can find relevant APIs.

The specific link for PlayerAPI is [PlayerAPI | Bitmovin Player API 8.118.0](https://cdn.bitmovin.com/player/web/8/docs/interfaces/core.playerapi.html)

Additionally, if you have a specific question about API usage or a specific use case in mind, please share it with us and will try to help with relevant documentation.

---

<div class="post-metadata">

**Author:** ![nihar.te](https://avatars.discourse-cdn.com/v4/letter/n/0ea827/32.png) [@nihar.te](https://community.bitmovin.com/u/nihar.te)\
**Post date:** [May 25, 2023, 9:30am UTC](https://community.bitmovin.com/t/how-to-get-getavailablesubtitles-in-bitmovin-player-8/1997/5 "2023-05-25T09:30:58Z")

</div>

Thank you,  
Can you please let me know the replaced method for  
setSubtitle and getSubtitle

---

<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:** [May 25, 2023, 10:27am UTC](https://community.bitmovin.com/t/how-to-get-getavailablesubtitles-in-bitmovin-player-8/1997/6 "2023-05-25T10:27:33Z")

</div>

@nihar.te , all subtitle APIs are listed at [PlayerSubtitlesAPI | Bitmovin Player API 8.118.0](https://cdn.bitmovin.com/player/web/8/docs/interfaces/subtitles.playersubtitlesapi.html)

I assume that for `setSubtitle`, you are referring to enabling a specific subtitle, the corresponding API is [subtitles.enable](https://cdn.bitmovin.com/player/web/8/docs/interfaces/subtitles.playersubtitlesapi.html#enable)

What is the use case behind `getSubtitle` API, are you looking to check currently active subtitle? If yes, then you can check with following code

`subtitles.list().filter((subtitleTrack) => subtitleTrack.enabled)`

Since you mentioned replaced method for `setSubtitle` and `getSubtitle`, are you migrating from Bitmovin V7 SDK to V8 SDK. In that case you can find a migration guide at [Migration Guide - v7 to v8](https://developer.bitmovin.com/playback/reference/migration-guide-v7-to-v8-1)

The migration guide also captures a [Subtitles](https://developer.bitmovin.com/playback/reference/migration-guide-v7-to-v8-1#subtitles) specific section.

---

<div class="post-metadata">

**Author:** ![nihar.te](https://avatars.discourse-cdn.com/v4/letter/n/0ea827/32.png) [@nihar.te](https://community.bitmovin.com/u/nihar.te)\
**Post date:** [May 25, 2023, 10:29am UTC](https://community.bitmovin.com/t/how-to-get-getavailablesubtitles-in-bitmovin-player-8/1997/7 "2023-05-25T10:29:23Z")

</div>

Thank you.  
Any guideline for 6 to 8 ?

---

<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:** [May 25, 2023, 10:34am UTC](https://community.bitmovin.com/t/how-to-get-getavailablesubtitles-in-bitmovin-player-8/1997/8 "2023-05-25T10:34:38Z")

</div>

Sorry, there is no migration guide for V6 to V8 migration. But happy to answer any question. Can I update the title to V6 to V8 migration and you can continue to ask questions in this topic. It might be helpful for any other developers who attempt such a migration in future.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/bitmovin/original/1X/1ab86334145095b0af9c5b924fa3ae6d920b6482.png) [@system](https://community.bitmovin.com/u/system)\
**Post date:** [May 25, 2023, 11:34am UTC](https://community.bitmovin.com/t/how-to-get-getavailablesubtitles-in-bitmovin-player-8/1997/9 "2023-05-25T11:34:50Z")

</div>

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.
