-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Video not playing on device (IOS) #33
Comments
Hi there, I have the same problem. I don't have a solution for you but it seems like the url videos are broken? I mean i can play them in my browser but for some reasons they are not playing on my device (iPhone 13 Pro Max running ios 18 beta 3), but if I use another url for the videos they work. |
Weird, for me its any URL, it only works if I download a video and put the file path name as the source. |
https://docs.expo.dev/versions/latest/sdk/video-av/ The format of the url should contain the .mp4. Something like this https://yourserver.com/path/to/video.mp4 |
You can also use react-native-webview if you prefer to use something other than the API route for embedded videos. This allows you to easily use embed videos from platforms like YouTube and Vimeo directly within your React Native application. I implemented logic to detect whether the video URL is a direct or embedded link. Depending on the result, the component renders the Video component (for direct links) or a WebView (for embedded videos). Additionally, you'll need to apply similar changes to your app's
|
Fixed the issue for me. I has two issues.
I changed the sample URLs in appWrite to: And wrapped the video component: Anyone knows a cleaner way to get third party components to work with NativeWind? Or is this a config issue? |
Got to the video portion at around the 3 hour mark and fonud that the videos weren't loading. I added the onError property to the
The server is not correctly configured. - The AVPlayerItem instance has failed with the error code -11850 and domain "AVFoundationErrorDomain"
Here's the code I have related to this error
I think it's my device but not sure how to fix it
The text was updated successfully, but these errors were encountered: