title: HTML5 video of type video/mp4 playing audio only
body: <p>I have an app built with codeigniter and launched in Facebook. This app should allow users to upload videos of type mp4.</p>
  
  <p>The videos upload fine. I had set the mime type in mimes.php as <code>'mp4' =&gt; array('video/mp4', 'application/octet-stream')</code>.</p>
  
  <p>I uploaded a video that showed up as type application/octet-stream when I checked with codeigniters file upload class. But I uploaded another video with ext .mp4 and it was uploaded successfully.</p>
  
  <p>The video that plays fine shows up as type application/octet-stream when I echo the file type, but the video that only plays audio shows up as type video/mp4.</p>
  
  <p>However when I try to view the video in my interface, using HTML5 video, it plays, but only audio. You can hear the sound as the video plays but I can't see the video itself.</p>
  
  <p>How do i fix this?</p>
  
  <p>EDIT:</p>
  
  <p>The video that plays only sound can be seen <a href="https://apps.cbbnideas.com/kfc-demo/assets/uploads/videos/140204-195002.mp4" rel="noreferrer">here</a> </p>
  
  <p>You can see the video if you view it on my machine in a video player, but it only plays audio on the web.</p>
  
  <p>The code that displays the video is </p>
  
  <pre><code>&lt;video  width="410" controls&gt;
                &lt;source src=" &lt;?php echo base_url().$upload_path.'/'.$videos_dir.'/'. $item['name'];?&gt;" type="video/mp4"&gt;
  
                  Your browser does not support the video tag.
              &lt;/video&gt;
  </code></pre>