abbasfreestyle/react-native-af-video-player

Video not playing on iOS but working fine on android

Opened this issue · 1 comments

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}
/>

screenshot 2019-01-11 at 11 34 42 am

Doesn't look like you linked correctly on ios, see here https://github.com/yamill/react-native-orientation