You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the code, subtitles should be displayed by default if they are defined in movies.json. And in the example there are this subtitles defined for every sample movie:
But the subtitles are never displayed. Even if we enable default overlay (useController = true), there is no option to enable subtitles there, like it never even loads them.
Is this some exoplayer issue or some problem with using it with compose? I tried to build the sample from the time this code was first added. But it doesn't work either.
The text was updated successfully, but these errors were encountered:
Ok, so I finally found a culprit for anyone interested. If you use the default MediaSourceFactory external subtitles start to work fine. Just delete this:
According to the code, subtitles should be displayed by default if they are defined in
movies.json
. And in the example there are this subtitles defined for every sample movie:and here is the code that loads the subtitles:
But the subtitles are never displayed. Even if we enable default overlay (
useController = true
), there is no option to enable subtitles there, like it never even loads them.Is this some exoplayer issue or some problem with using it with compose? I tried to build the sample from the time this code was first added. But it doesn't work either.
The text was updated successfully, but these errors were encountered: