作者 景龙
1 个管道 的构建 通过 耗费 0 秒

调试视频解析异常

@@ -178,7 +178,9 @@ class IndexController extends HomeBaseController @@ -178,7 +178,9 @@ class IndexController extends HomeBaseController
178 ini_set('memory_limit', '512M'); 178 ini_set('memory_limit', '512M');
179 header("Pragma: public"); 179 header("Pragma: public");
180 header("Expires: 0"); 180 header("Expires: 0");
181 - header("Content-Type: application/octet-stream"); //文件mime类型 181 +// header("Content-Type: application/octet-stream"); //文件mime类型
  182 + header("Content-Type: video/mp4"); //文件mime类型
  183 +
182 //header("Content-Disposition: attachment; filename=video11.mp4;" ); //文件名$filename 184 //header("Content-Disposition: attachment; filename=video11.mp4;" ); //文件名$filename
183 //header("Content-Length: 83995"); //文件大小$fsize 185 //header("Content-Length: 83995"); //文件大小$fsize
184 ob_clean(); 186 ob_clean();