title: how to play/preview video before uploading using jquery
body: <p>I have used images uploading preview using jquery and want to preview a video as well, but not getting any clue regarding. Have you any solution regarding. Any kind of help will be appreciated.</p>
  
  <p>image preview is working fine</p>
  
  <pre><code>      function readURL(input) {
                    $('#previewHolderalbumList').hide();
                    $('#previewHolderalbum').show();
                  if (input.files &amp;&amp; input.files[0]) {
                      var reader = new FileReader();
                      reader.onload = function(e) {
                          $('#previewHolder').attr('src', e.target.result);
                      }
  
                 reader.readAsDataURL(input.files[0]);
             }
         }
         $("#fileID").change(function() {
             readURL(this);
         });
  </code></pre>
  
  <p>Ragards,</p>
  
  <p>Sonu Sindhu</p>