HomeiOS DevelopmentLearn how to render distant video in React Native (Expo) on iOS?

Learn how to render distant video in React Native (Expo) on iOS?


I’m making an attempt to render a distant video utilizing React Native with Expo. The video works effective on Android, nevertheless it does not render in any respect on iOS units.

🧩 Drawback Particulars

The distant video URL I’m utilizing doesn’t assist byte-range requests. I verified this utilizing the next curl command:

curl -I -r 0-999 https://www.instance.com/dfsmedia/…/777-`supply `

The response was 200 OK, which signifies that the server does not assist partial content material responses (no 206 standing returned).

I used the expo-video bundle to render the video. The implementation works as anticipated on Android, however on iOS, the video merely doesn’t play or render.

I anticipated the video to render on iOS as nicely, however I believe the problem is expounded to how iOS handles video streaming when vary requests are unsupported.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments