Hi @jean-sebastien.rouet , thanks for your question. Yes it is possible to achieve this.
Bitmovin player exposes 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 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 API to list all available subtitles and call player.subtitles.enable API to enable the desired subtitle out of the list. Please make sure to call
listAPI after player has entered SourceLoaded or Ready state.
Similarly, subtitles can be disabled via API player.subtitles.disable
Additionally there are events SubtitleEnabled and SubtitleDisabled to check programatically when subtitles are enabled and disabled respectively.
Please take a look as SubtitleAPI and PlayerEvents documentation for other subtitle related information.
Hi @jean-sebastien.rouet , I hope above information helped answer your question. Can we mark it as a solution please?