2018-06-11, 13:00
I need to know if there's a currently enabled (i.e. visible on screen) subtitle track during video playback.
Using getSubtitles() [Docs] it always returns 'eng' for an english subtitle track, even if it is not currently enabled.
If I choose 'Italian' as the subtitle track, then it returns 'ita', even if I disable subtitles completely.
It seems to be always returning the last selected subtitle track, whether enabled or disabled.
Is this a bug or is it intended to work like this?
Is there a workaround for this?
Thanks
Using getSubtitles() [Docs] it always returns 'eng' for an english subtitle track, even if it is not currently enabled.
If I choose 'Italian' as the subtitle track, then it returns 'ita', even if I disable subtitles completely.
It seems to be always returning the last selected subtitle track, whether enabled or disabled.
Is this a bug or is it intended to work like this?
Is there a workaround for this?
Thanks