I’m trying to upload a video from the camera roll. This is my code. iOS returns null for data for a video, but returns the right filepath for an image. Can’t tell where the bug is occurring - but it does not seem intended! Any help would be awesome.
actually that plugin works fine now. I got it working. The issue is inconsistent local filepaths cross images and videos. images inclue file:/// - videos do not.
hey there - you should add file:/// to retrieve the file.
the other bug which you should be aware of is that iOS will compress all videos and there is no way around this. Android will send you the uncompressed files.
@gowda@bengtler@jeffchuber
Hi all i am also getting the same problem as i am trying to access the video path using $cordovaCamera plugin, here is my code:-
I just used it many ways and tried your way also but m getting blank data on selection of video. It means video selection library apeared but on select of video it is giving blank data… so how can i get data or file path