react-native-video: Exoplayer - Unable to connect to VIDEO_URL, Unrecognized media format
Current behavior
onError callback throws the following error:
{"error":{"":"Unable to connect to https://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_1mb.mp4","errorString":"Unrecognized media format"}}
Reproduction steps
Component:
<Video
source={{
uri:
"https://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_1mb.mp4"
}}
ref={ref => {
this.player = ref;
}}
style={styles.player}
paused={this.state.moviePaused}
onError={e => console.log(e)}
onPlaybackStalled={this.pauseMovie}
/>
using Exoplayer
Platform
Which player are you experiencing the problem on:
- Android ExoPlayer
Video sample
https://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_1mb.mp4
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 21 (4 by maintainers)
same for me
I am also facing the same issue. any update on this?
+1
@urikphytech did you succeed in solving this??