title: Upload video and stream video on laravel
body: <p>My app can already upload and save the video to public/files folder. my only problem is when im displaying (let's say a 1 minute long video) it doesn't play but when i play 2 seconds long video its working. i don't know why is this happening.</p>
  
  <p>i have this is my controller </p>
  
  <pre><code>$input = Input::file('vid');
          $fileinput = $input-&gt;getClientOriginalName();
          $input = Input::file('vid')-&gt;move($destination,$fileinput);
  
          $post = New Post();
          $post-&gt;title = Input::get('title');
          $post-&gt;content = nl2br(Input::get('content'));
          $post-&gt;videos = $fileinput;
          $users-&gt;post()-&gt;save($post);
  </code></pre>
  
  <p>and in my views</p>
  
  <pre><code>&lt;video width="600" height="500" controls&gt;
  &lt;source src="{{ asset('img/'. $posts-&gt;videos)}}" type="video/mp4"&gt;
  &lt;source src="{{ asset('img/'. $posts-&gt;videos)}}" type="video/ogg"&gt;
  &lt;source src="{{ asset('img/'. $posts-&gt;videos)}}" type="video/webm"&gt;
  Your browser does not support the video tag.
  &lt;/video&gt;
  </code></pre>
  
  <p>i just want to understand why this is happening thanks </p>