I select images perfectly but I cannot select video, what I need to do?
import ImagePicker from 'react-native-image-picker';
openImagePicker(){
const options = {
title:'select an option',
storageOptions:{
skipBackup:true,
path:'images'
}
}
ImagePicker.showImagePicker(options,(response) => {
if(response.didCancel){
console.log('user cancelled');
}else if (response.error) {
console.log('ERROR'+response.error);
}else if (response.customButton) {
console.log('user tapped'+response.customButton);
}else {
this.setState({
imagePath: response.uri,
imageHeight: response.height,
imageWidth: response.width
})
}
})
}