Skip to content
Permalink
Browse files

add mime types for 3gp,mov,wmv

  • Loading branch information...
kabel2 committed Aug 6, 2017
1 parent aea17b9 commit 6911616ba8f7391af883865de871382030e64213
Showing with 2 additions and 1 deletion.
  1. +2 −1 app/Http/Requests/UploadFileToConvert.php
@@ -31,7 +31,7 @@ public function rules()
'limit' => 'required|integer',
'sound' => 'required|string|max:2',
'autoResolution' => 'nullable|string|max:2',
'file' => 'nullable|mimes:webm,mp4,mkv,mov,avi,wmv,flv,3gp,gif',
'file' => 'nullable|mimes:webm,mp4,mkv,mov,avi,wmv,flv,3gp,gif,bin,qt,asf',
];
}
@@ -71,6 +71,7 @@ public function withValidator($validator)
$validator->errors()->add('limitnull', 'Gib mindestens 1Mb an!');
}
});
}
private function YTDurationToSeconds($time)

0 comments on commit 6911616

Please sign in to comment.
You can’t perform that action at this time.