react-native-af-video-player
react-native-af-video-player copied to clipboard
Error:while updating property 'src' of a view managed by: RCTVideo
when I using react-native-af-video-player by follwing the course,there comes an issue so that I cannot use it.
"react-native": "0.58.6",
"react-native-af-video-player": "^0.2.1",
"react-native-keep-awake": "^4.0.0",
"react-native-linear-gradient": "^2.5.4",
"react-native-orientation": "^3.1.3",
"react-native-vector-icons": "^6.4.1",
"react-native-video": "^4.4.0",
"react-navigation": "^3.3.2",
- OS: android
Here got console logs:
Error while updating property 'src' of a view managed by: RCTVideo
null
requestHeaders
updateViewProp
ViewManagersPropertyCache.java:95
setProperty
ViewManagerPropertyUpdater.java:132
updateProps
ViewManagerPropertyUpdater.java:51
updateProperties
ViewManager.java:35
createView
NativeViewHierarchyManager.java:269
execute
UIViewOperationQueue.java:200
dispatchPendingNonBatchedOperations
UIViewOperationQueue.java:1109
doFrameGuarded
UIViewOperationQueue.java:1080
doFrame
GuardedFrameCallback.java:29
doFrame
ReactChoreographer.java:166
doFrame
ChoreographerCompat.java:110
run
Choreographer.java:909
doCallbacks
Choreographer.java:723
doFrame
Choreographer.java:655
run
Choreographer.java:897
handleCallback
Handler.java:790
dispatchMessage
Handler.java:99
loop
Looper.java:164
main
ActivityThread.java:6494
invoke
Method.java
run
RuntimeInit.java:438
main
ZygoteInit.java:807
I'm experiencing this exact issue on Android. I'm using react native crop image to load a video from my gallery and get the file path afterwards. Then I use this path like so: <Video url={{uri: 'file:///storage/emulated/0/DCIM/video.mp4'}} />. However I get this same error! What could be the respinsible for this? Anyone experiencing this? Been at this for about 6 hours!
I am experiencing this issue on Android too.
I am facing the same issue on Android. Any fixes or workarounds ?
I faced this error too.
My workaround is to modify node_modules/react-native-af-video-player/package.json -> update all package to the newest version.
For example:
From "react-native-video": "^2.2.0" to "react-native-video": "^5.0.0"
For easy to use, I migrate this repo into local node module or another repo, then use:
"react-native-af-video-player": "file:node_modules_dev/react-native-af-video-player",
or point to a forked github repo:
"react-native-af-video-player": "luatnd/react-native-af-video-player#my_custom_branch",
Hi Facing the same issue in Android device. Any solution? "react-native-af-video-player": "^0.2.1", "react-native-video": "^5.0.2", Thanks
I was able to fix this problem, heres how i fixed it: https://github.com/abbasfreestyle/react-native-af-video-player/issues/68#issuecomment-596870023
same problem