how to validate video laravel

Solutions on MaxInterview for how to validate video laravel by the best coders in the world

showing results for - "how to validate video laravel"
Edmund
01 Oct 2017
1$this->validate($req, [
2      'video' => 'required|mimes:mp4,ogx,oga,ogv,ogg,webm',
3      ]);
4
Mattia
30 May 2018
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