react-native-video-controls
react-native-video-controls copied to clipboard
video not work in ios
video not work in ios but work fine in android
and git this error : video unavailable
react native : 63.5
my code :
<VideoPlayer source={{ uri: 'https://vjs.zencdn.net/v/oceans.mp4' }} tapAnywhereToPause repeat />
Any solution? It just started showing all of a sudden
Yes, am i also facing the same issue, It was working fine fews days back and all of sudden it started showing me video unavailable error. Did you guys find any solution for this ?
here is the error that i receive in onError method: {"error": {"code": -11829, "domain": "AVFoundationErrorDomain", "localizedDescription": "Cannot Open", "localizedFailureReason": "This media may be damaged.", "localizedRecoverySuggestion": ""}, "target": 9499}
but that is not the reason , as i have checked by hitting my video url at web browser and it shows me the video without any error.
Hi Guys @GuleriaAshish @ram4git @mohamedanwer123 did you find any solution
I wasted 3 days for this issue, please help me.
any solution ?
Hey any word on this? I am stuck also.
Setting:
source={{ type: 'mp4', uri: 'https://vjs.zencdn.net/v/oceans.mp4' }}
Seems to work. But I'm using React Native 0.68.0. Which might have something to do with it.
if you are using the encrypt or drm you need to activated the apple fairplay
have resolved this issue by adding NSAppTransportSecurity
to true in info.plist
.