I know how to use download
attribute to force download, but I want to do something different.
<a href="filename.mp4" download=""><img src="download.png"></a>
This is the download
attribute which works properly, but I want to download using the meta
tag like so:
<meta http-equiv="refresh" content="5; url=uploads/<?php echo $_POST["filename"]; ?>"> Please wait while your file start downloading.
It is working great with extensions like zipfile, rar, etc.. But when I try to use mp4, it opens up the file in a browser instead of force download.