1$this->validate($req, [
2 'video' => 'required|mimes:mp4,ogx,oga,ogv,ogg,webm',
3 ]);
4
1'video' => 'mimetypes:video/x-ms-asf,video/x-flv,video/mp4,application/x-mpegURL,video/MP2T,video/3gpp,video/quicktime,video/x-msvideo,video/x-ms-wmv,video/avi'
2