If you want to allow file downloads instead of streaming, something like this should work. You obviously need to change paths.
// We'll be outputting a PDF header('Content-type: application/pdf'); // It will be called downloaded.pdf header('Content-Disposition: attachment; filename="download.pdf"'); // The PDF source is in original.pdf readfile('original.pdf');
EDIT
In your case, it will be something like this.
// We'll be outputting a video header('Content-type: video/flv'); // It will be called video.flv header('Content-Disposition: attachment; filename="video.flv"'); // The PDF source is in original.flv readfile('original.flv');
source share