I am trying to trigger the download pop up box on firefox using an Ajax jquery call. my jquery code is this:
function download_clip(){
    $.ajax({
        url: '/controller/download_clip',
        type: "GET",
        complete: function (data_response) {
            status = data_response.responseText; //the response variable from the presentation controller
            console.log(status);
        }
    });
};
in my controller:
  def download_clip
       send_file "public/output.mp4", :type=>"video/mp4", :filename => "output.mp4", :x_sendfile=>true, :disposition => 'inline'
  end
Any ideas how to trigger the download box?