Video not playing on iOS but working fine on android
Opened this issue · 1 comments
Gursewak-Uppal commented
Video not playing on iOS but working fine on android i'm using FlatList and render images and video. Its working fine in and but gives error on iOS. also iOS app freezes when loading video when load data on FlatList
<View style={{ flex: 1, height: 300, marginTop: 10 }}>
<Video
autoPlay={false}
loop={false}
rotateToFullScreen={false}
playInBackground={false}
playWhenInactive={false}
error={false}
url={data.file_url}
ref={ref => {
this.video = ref;
}}
theme={theme}
/>
Deleted user commented
Doesn't look like you linked correctly on ios, see here https://github.com/yamill/react-native-orientation