Closed naeemqaswar closed 4 years ago
Fixed it by changing the default player to "android-exoplayer" at /android/settings.gradle
subtitle nt display for me, i follow given steps
Fixed it by changing the default player to "android-exoplayer" at /android/settings.gradle
not wrking for me
I solved this by adding a react-native.config.js file to root of my project with: module.exports = { dependencies: { 'react-native-video': { platforms: { android: { sourceDir: '../node_modules/react-native-video/android-exoplayer', }, }, }, }, };
Current behavior
Hi @cobarx I'm trying to use textTracks to load .srt subtitle with video but unfortunately, video is loading and working fine but subtitles are not showing up in any case, have tried almost every possible way of implementation. Scope of my project is to use this player to run multiple videos, targeting AndroidTV and AppleTV.
Reproduction Steps
Video: https://s3.amazonaws.com/irt-media/iris/videos/772.360p.mp4 Subtitles: https://roku.itsrelevant.tv/roku/subtitles?chars=50&video_id=592
Code Implementation:
Expected behavior
TextTracks i.e SRT should be displayed with video play
Platform