title: Displaying a video using laravel 5.2
body: <p>I am working on Laravel 5.2. I have to display a video on my view page.I am able to store the video in my database table but, not able to fetch it and display it.I have the column in my table having the filepath of the videos which i am using to fetch it from the database. </p>
  
  <p>My Controller:</p>
  
  <pre><code>   public function talent(Request $request){
     $user=new Talent(); 
     $this-&gt;validate($request, [
  
       'video'=&gt;'required',
     ]);
     $video=$request-&gt;file('video');
  
  
     $filename=time().'.'. $video-&gt;getClientOriginalExtension();
     $pathVideo = public_path('uploads/video/' . $filename);
     Input::file('video')-&gt;move('uploads/video/', $pathVideo);
     $user-&gt;file_path=$pathVideo;
  
  
     $user-&gt;video=$filename;
  
     $user-&gt;user_id=Auth::user()-&gt;id;
     $user-&gt;save();
  
      return redirect()-&gt;back();
  
      }
  
     public function talentpool($id){
     $user=User::findorFail($id);
     $talents=Talent::orderBy('created_at','desc')-&gt;get();
     return view('talentpool',['user'=&gt;$user,'talents'=&gt;$talents]);
      }
  </code></pre>
  
  <p>My View:</p>
  
  <pre><code>   @foreach($talents as $talent)
     &lt;video width="616" src="{{ $talent-&gt;file_path }}" controls&gt;&lt;/video&gt;
     @endforeach
  </code></pre>