We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The subtitle is showing up in debug version but it is not in release version.
<Video ref={videoRef => (this.videoRef = videoRef)} useTextureView={false} source={require('./example.mp4')} // Looks for .mp4 file (background.mp4) in the given expansion version. resizeMode="contain" // Fill the whole screen at aspect ratio. style={styles.fullScreen} selectedTextTrack={{ type: 'title', value: 'English', }} textTracks={[ { title: 'English', language: 'en', type: TextTrackType.VTT, // "text/vtt" uri: 'https://bitdash-a.akamaihd.net/content/sintel/subtitles/subtitles_en.vtt', }, { title: 'Spanish', language: 'es', type: TextTrackType.SRT, // "application/x-subrip" uri: 'https://durian.blender.org/wp-content/content/subtitles/sintel_es.srt', }, ]} />
Link for the project: https://github.com/reime005/VideoPlayerTest
Versions: react": 16.6.1, react-native: "0.57.7, react-native-video: 4.1.0 babel-jest: 23.6.0, jest: 23.6.0, metro-react-native-babel-preset: 0.50.0, react-test-renderer: 16.6.1
In release version it should show the subtitles
Which player are you experiencing the problem on:
https://bitdash-a.akamaihd.net/content/sintel/subtitles/subtitles_en.vtt
You can find it in the project's package.json
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Current behavior
The subtitle is showing up in debug version but it is not in release version.
Reproduction steps
Link for the project:
https://github.com/reime005/VideoPlayerTest
Versions:
react": 16.6.1,
react-native: "0.57.7,
react-native-video: 4.1.0
babel-jest: 23.6.0,
jest: 23.6.0,
metro-react-native-babel-preset: 0.50.0,
react-test-renderer: 16.6.1
Expected behavior
In release version it should show the subtitles
Platform
Which player are you experiencing the problem on:
Subtitles sample
https://bitdash-a.akamaihd.net/content/sintel/subtitles/subtitles_en.vtt
Video sample
You can find it in the project's package.json
The text was updated successfully, but these errors were encountered: