Comment valider la vidéo Laravel
$this->validate($req, [
'video' => 'required|mimes:mp4,ogx,oga,ogv,ogg,webm',
]);
Smiling Weedpiper
$this->validate($req, [
'video' => 'required|mimes:mp4,ogx,oga,ogv,ogg,webm',
]);
'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'