Android Question How to disable subtitles in VideoView?

ronovar

Active Member
Licensed User
Longtime User
I im using VideoView (Native Android OS player), and i play mkv file witch have encoded subtitle in it. Subtitles is show on screen automatically but is not syncronizes..so i have a few monts ago write my own srt parser for subtitle..and would like to know id is possible to disable showing subitles from mkv file?

JavaObject or Reflector method if is possible? I have search android api but i did not find nothing about disabling integrated mkv subitles.

Does exists this api function?
 

ronovar

Active Member
Licensed User
Longtime User
Yes i try 3 and 4.... the problem is here:

when i comment this line:

B4X:
//mps.deselectTrack(i);

Then program run and video is running and subtitles is shown...so i think that this mps.deselectTrack(i) is the error line and B4A stops at:

B4X:
jcontext.RunMethod("deselectsubtitle", Array(MP,jTrackInfo))

We are close to solution:)
 
Upvote 0
Top