Laravel 5 file upload validation
<p>I'm using laravel built in file upload to upload video to my website. I've already successfully uploaded the file, but when my friend try to upload the video he got an error "validation.uploaded" i don't know why this is happening and i've been trying to find the error but i can't find it. We both try it in firefox and chrome but only my friend who got it. Please help this is my code:</p>

<p>Save Video Function</p>

<pre><code>protected function saveVideo(UploadedFile $video)
{
    $fileName = str_random(40);

    $fullFileName = $fileName.'.'.$video-&gt;guessClientExtension();

    $video-&gt;storeAs('videos', $fileName);

    return $fullFileName;
}
</code></pre>

<p>Save From Form</p>

<pre><code>public function update(Request $request, $id)
{
    //dd($request-&gt;all());
    $video = Video::findOrFail($id);
    $this-&gt;validate($request, [
        'title' =&gt; 'required|unique:lessons,title,'.$video-&gt;id,
        'lesson_lists' =&gt; 'required',
        'description' =&gt; 'required'
    ]);
    $data = $request-&gt;only('title', 'description','lesson_lists');
    $data['slug'] = str_slug($request-&gt;title);

    if($request-&gt;hasFile('image')){
        $data['image'] = $this-&gt;saveImage($request-&gt;file('image'));
        if($video-&gt;image !== '') $this-&gt;deletePhoto($video-&gt;image);
    }

    if($request-&gt;hasFile('video')){
        $data['video'] = $this-&gt;saveVideo($request-&gt;file('video'));
        if($video-&gt;video !== '') $this-&gt;deleteVideo($video-&gt;video);
    }

    //$data['lesson_id'] = implode($request-&gt;get('lesson_lists'));
    $video-&gt;update($data);
    Session::flash("flash_notification", [
        "level"=&gt;"success",
        "message"=&gt;"Berhasil menyimpan $video-&gt;title"
    ]);

    return redirect()-&gt;route('video.index');
}
</code></pre>