When the code that lets you download the file is run, it sets the content-disposition: header("Content-Disposition: attachment; filename=\"" . basename($url) . "\";");. Normally, browsers can tell by the extension on the filename what the content-type should be. Chrome (and possibly Safari) doesn't know what to do with "mov", so it just returns html. I changed it so that if the filetype is "mov", the content-type is set to "video/quicktime", which Chrome knows how to handle.
When the code that lets you download the file is run, it sets the content- disposition: header( "Content- Disposition: attachment; filename=\"" . basename($url) . "\";");. Normally, browsers can tell by the extension on the filename what the content-type should be. Chrome (and possibly Safari) doesn't know what to do with "mov", so it just returns html. I changed it so that if the filetype is "mov", the content-type is set to "video/quicktime", which Chrome knows how to handle.