I'm trying to show a video from AWS (.m3u8 format) on my Expo-App. I'm using the video component from expo-av. It is working perfectly fine on Android but I can't get the video showing on iOS. My code is almost the same as in the Expo-docs.
The code:
const uri = "https://__censored__.cloudfront.net/__censored__/hls/TitleOfTheVideo.m3u8"
<Video
source={{ uri, overrideFileExtensionAndroid: 'm3u8' }}
rate={1.0}
volume={1.0}
isMuted={true}
resizeMode="contain"
shouldPlay
style={{ width: '100%', aspectRatio: 16/9, backgroundColor: '#000' }}
useNativeControls
/>
Is this a general problem with iOS or am I doing something wrong? Has anybody worked with HLS videos and Expo before and knows a better approach? I'm new to AWS and haven't worked with Expo in a while so I would be happy for any advice you guys can give me.