I'm using this library "react-native-af-video-player" for playing videos from my remote server, and its working perfectly on android, but on iOS its giving this error "Oops! there was an error while playing this video please try again later". I tried giving a random dummy .mp4 url and it worked normally, only the videos from my server are not being read.I added my servers url to the "Exception Domains" in "App Transport Security Settings" in info.plist file but it didn't work. Any help would be appreciated.
react-native-af-video-player "Oops! there was an error while playing this video please try again later"
515 Views Asked by Jawad Chawich At
1
There are 1 best solutions below
Related Questions in REACT-NATIVE
- React Native: detect if UIVisualEffectView is supported
- Prevent Chrome debugger from stealing focus in React Native
- React-native upload image to amazons s3
- react-native update NavigatorIOS component's props
- promise – can't find variable process
- Using React Native within existing iOS app for some views only
- What is a good approach to building and distributing a React Native iOS component that extends iOS functionality?
- error in xcode 6 "is not registered as a URL scheme. Please add it in your Info.plist"
- DeviceEventEmitter stops emitting events to application when screen locked
- How to rename react-native entry file (index.ios.js)
- react-native component lifecycle methods not firing on navigation
- How to use comments in React
- react-native propagate changes in props through ListView and Navigator
- How do i use the iOS shake gesture with react native?
- TouchableHighlight won't accept press events while keyboard is open
Related Questions in VIDEO
- How to open and read video stream in Matlab
- Extract bytes of specific stream from mpegts file using ffmpeg
- AVQueuePlayer crashes when I try to observe the start of the next video: AVPlayerItem was deallocated with observers
- How to get the time stamp of each frame of a GoPro video in MATLAB?
- DFP Videos Ads Internal error
- Get youtube video information using javascript and Youtube-API
- YouTube views not counting on Wordpress embed
- Videos not working on phones using HTML
- How to track multiple youtube videos in google analytics
- Cloudfront stream only part of the video
- Changing switch statement to include both mp4 and ogg files
- How to detect squares in video with OpenCV?
- Saving iOS video buffer
- dynamic video source change issue in azure media player
- Video Editing For Android
Related Questions in SERVER
- How can I monitor an endpoint's status with Ruby?
- Rasterization with Javascript looks different on Apache server
- Netty loses udp packets at the beginning of the communication
- How to have Heroku build my development branch on a staging server?
- Timing packets on a traffic server
- copying file from local machine to Ubuntu 12.04 returning permission denied
- AWS EC2: Migrating from Windows to Linux Server
- Connecting Ms Access Db to Mysql through Vba
- Remove ".local" suffix on local server (Yosemite)
- Server program gets stuck at accept function
- PayPal API QueryParameters not found
- Python Server - Processing WebSocket.close()
- NameValuePair, HttpParams, HttpConnection Params deprecated on server request class for login app
- Unable to send file from ftp to another ftp
- Scala - TCP Packet frame using Akka
Related Questions in REACT-NATIVE-IOS
- React Native WebView rendering unexpected border at bottom
- React native add active class when push the button
- How to handle iOS status bar height change during active call in React Native?
- How to get back to Native viewController from React Native Component in iOS
- React Native - run-ios - React Packager process fails due to thinking I am running io.js version 1.6.2
- Duplicate symbols error when upgrading react-native to 0.39.0 and above
- react-native : Native modules with same name for both android and iOS
- Using ADB to run React Native on-device (iOS)
- GiftedChat - Warining 'keyboardShouldPersistTabs={true}' is deprecated. use 'keyboardShouldpersist='always' instead
- How to implement Coach mark in react native android?
- Callback function definition and Calling issue in react native
- There were some bug on the onResponderRelease function of View.props
- Cannot update during an existing state transition (such as within `render`) in React Native
- Performance issue - Loading Too Much Time MapView and High resolution image - React Native
- React Native TextInput and FlatList capturing onPress of ListItem
Related Questions in REACT-NATIVE-CLI
- I can't run any react app with iOS simulator
- react-native-af-video-player "Oops! there was an error while playing this video please try again later"
- ERROR Invariant Violation: requireNativeComponent: "RNCSafeAreaProvider" was not found in the UIManager. (Expo)
- Native React - VS Studio Code - npm run android - Execution failed for task ':app:checkDebugAarMetadata'
- npx react-native run-ios returns "error No simulator available with name IPhone 15"
- React Native CLI error JSON::ParserError - Failed to parse JSON at file: '/.../Flipper/0.232.0/Flipper.podspec.json'
- npx react-native@latest init error installing ruby gems
- Cannot run `react-native run-android` (no error from react-native doctor)
- Best practices for using firebase in development and production with react-native-cli
- Is there any way to add a Listener for changes in battery level in react native (non-expo) application?
- Can React Native Track-Player play url without .mp3 extension?
- Need Help Fetching Current Location/POI/Beacon Using "@situm/react-native" Library
- BottomTabBar transform icon is not vertically clickable
- React Native pod install fails
- Cannot find module 'semver/functions/cmp' React Native CLI
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Apparently, HTTP servers hosting media files for iOS must support byte-range requests, which iOS uses to perform random access in media playback. (Byte-range support is also known as content-range or partial-range support.) Most, but not all, HTTP 1.1 servers already support byte-range requests.
If you are not sure whether your media server supports byte-range requests, you can open the Terminal application in OS X and use the curl command-line tool to download a short segment from a file on the server:
If the tool reports that it downloaded 100 bytes, the media server correctly handled the byte-range request. If it downloads the entire file, you may need to update the media server to support byte-range requests.