while playing video on a Video node, when the user switches the subtitle using the * key, how can i capture that change?
Interesting behaviour: I am using RAF to play ads, once the ads are played the subtitle resets!
steps: start video -> press * and change the subtitle (say from eng to spanish)-> let the video continue and -> mid rolls are played -> returned to player and then observed that the subtitles has reset to English!
this is how i am setting up my player initially:
Subtitle_TracksArray.push({"TrackName":url1,"Description":name})
Subtitle_TracksArray.push({"TrackName":url2,"Description":name})
ContentNode_object.SubtitleTracks = Subtitle_TracksArray
where url is the url of the .srt file
any idea why this is getting reset after ads playback??