i'm using react-native-video to play **mp4 ** videos , and they can have embed subtitles , i need to show list of available subtitles , and select one of them , how i can do that ?
<Video
source={
require('../../_assets/video.mp4')
}
ref={ref => (this.$player = ref)}
style={styles.fullScreen}
paused={pause}
posterResizeMode={'cover'}
seek={1000}
playInBackground={false}
onProgress={onProgress}
repeat={true}
onLoad={onLoad}
onSeek={onSeek}
renderToHardwareTextureAndroid/>
I found solution , onLoad data argument containing extisting textracks