I’m developing a Ionic v3 APP that enables upload videos to my server.
Right know, I have a HTML button that will call this.videoInp.nativeElement.click()
and this.videoInp
is a element like:
<input type="file" (change)="videoUpload($event)" id="file-input"
style="opacity: 0" accept="video/*" #videoInp>
This works fine in iOS, calling the native function that show 3 options to select the video to be upload.
- Take Video
- Photo Library
- Browse
The image below ilustrates how this options are displayed:
Everytime that I select Take Video
, my APPS crashs. I want to fix this or either remove this option.