I am using React Native and am using https://github.com/lwansbrough/react-native-camera to capture a video. On saving the video I get an absolute path to the storage on my device. I want to convert it into a URI to display it.
{path:"file:///storage/emulated/0/DCIM/VID_21324217_242411222.mp4"}
I have already tried doing this
<Video
source={{ uri: this.state.videoSource.path}}
....
But it doesn't work what am I missing? how do I convert this absolute path to an URI so I can display it in the video player?