Open iAyush opened 6 years ago
private testConfig: Ng4FilesConfig = { acceptExtensions: ['jpeg', 'jpg', 'png', 'bmp', 'JPEG', 'JPG', 'PNG', 'BMP', 'doc', 'docx', 'xls', 'xlsx', 'ppt', 'pptx', 'pdf', 'txt'], maxFilesCount: 1, maxFileSize: 5120000, totalFilesSize: 5120000 };
this is my code.. it works fine on PC but allows videos to be uploaded on phones
private testConfig: Ng4FilesConfig = { acceptExtensions: ['jpeg', 'jpg', 'png', 'bmp', 'JPEG', 'JPG', 'PNG', 'BMP', 'doc', 'docx', 'xls', 'xlsx', 'ppt', 'pptx', 'pdf', 'txt'], maxFilesCount: 1, maxFileSize: 5120000, totalFilesSize: 5120000 };
this is my code.. it works fine on PC but allows videos to be uploaded on phones