title: download HTML5 mp4 video using Javascript
body: <p>Hi I have video tag of HTML5, I want to give a "Download" button to user, where User can able to click and download that video.
  I know user can download video by right click on browsers, but i want to give this feature on my button.</p>
  
  <p>I am using simple code</p>
  
  <pre><code>$('submit').click(function() {
      window.location.href = 'myvideo.mp4';
  });
  </code></pre>
  
  <p>but it redirect me to video url not shows download popup that i want.</p>
  
  <p>Thanks</p>