Play mp4 file through php in HTML5 Video Tag in Chrome?
问题 I have a problem with mp4 files. Html5 Video Tag can play it with direct link, but not with PHP Header (Mp3 is worked fine with PHP Header). I have tried almost of solution in Stack but still not resolve my problem :( Hear is my code: PHP mp4.php error_reporting(0); $local_file = 'z.mp4';//'b.mp3'; $download_file = 'out.mp4'; // send headers header('Cache-control: private'); header('Content-Type: video/mp4'); header('Content-Length: '.filesize($local_file)); header('Content-Disposition: