Media Capture file not found in IphoneX


#1

this.mediaCapture.captureVideo({ limit: 1, duration: 600 }).then((data: MediaFile[]) => {
let capturedFile = data[0];
console.log(JSON.stringify(data));
this.videoPath = capturedFile[‘fullPath’];
var myVideo = document.getElementsByTagName(‘video’)[0];
myVideo.src = this.videoPath;
myVideo.load();
}, (err: CaptureError) => {
this.showErrorAlert(“Video Load Failed”, “We are not able to open your Camera in video mode”);
}).catch((exception) => {
this.showErrorAlert(“Video Recording Failed”, “We are not able to open your Camera in video mode”);
});

I am uploading file from media capture, this code is working fine in all iphones except iphoneX.
Please guide me