Expo-av video not showing on iOS

Please provide the following:

  1. SDK Version:
    “expo”: “~39.0.2”,
    “expo-av”: “~8.6.0”,
  2. Platforms(Android/iOS/web/all):

I’m trying to show a video from AWS (Video on demand) using Expo. I’m using the .m3u8 file.
I actually get the video running on my Android phone but on my iOS simulator I can’t see the video.
Is this a problem with the Simulator or wouldn’t it run on an iOS device aswell?

My code is very basic (I haven’t figured out how to use the Playback Api properly, yet and just wanted to get something on the screen):

const uri = "https://___censored___.m3u8"

        // ref={_handleVideoRef}
        source={{ uri, overrideFileExtensionAndroid: 'm3u8' }}
        style={{ width: '100%', aspectRatio: 16/9, backgroundColor: '#000' }}

I will try it on a device as soon as I get one, but for now it would be good to know if I’m doing something wrong for it to work on iOS or if it’s just not working on iOS / a Simulator.

Edit: I tried it on an old iPhone and the video is not showing. So it seems to be a problem with iOS.

I’m having the same issue

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.