I have created a script that generates direct url to download a mp4 file.The problem is that download managers don't catch the correct title.
<a href="<?php echo $mp4_720p; ?>">"><?php echo $title; ?></a>
$mp4_720p --> the url of the mp4 file .This is dynamic and is unique for each downloader.
$title-->It is the name of the video file
The problem is that my download manager (IDM) recognise the file name as videoplayback.mp4 when i want it to be $title.mp4
Is there anything i am missing here in the html ??
UPDATE I found a nice html5 solution that works
<a href="<?php echo $mp4_720p; ?>" download="<?php echo $title; ?>"><?php echo $title; ?></a>
Browser takes the title as the filename as expected but unfortunately Download Managers are still unable to pick up the correct filename
Regards