175c175 < $mime_type=''; --- > 184a185,187 > > echo $mime_type; > exit; 186c189 < if (in_array($mime_type, $types) && in_array($_FILES['upload']['type'], $types) && file_exists($dir) && filesize($tmp_name) <= floor($_POST['MAX_FILE_SIZE'])) { --- > if (in_array($_FILES['upload']['type'], $types) && file_exists($dir) && filesize($tmp_name) <= floor($_POST['MAX_FILE_SIZE'])) { 313c316 < type="file" id="files" name="upload" accept="video/*,audio/*" data-capture=""> --- > type="file" id="files" name="upload" accept="video/*,audio/*" capture>