...
|
...
|
@@ -175,6 +175,8 @@ class IndexController extends HomeBaseController |
|
|
$video_url = $this->getVideoId($id);
|
|
|
//页面直接输出视频
|
|
|
$filePath = 'http://xingqiu.qiniu.brotop.cn/'.$video_url;
|
|
|
|
|
|
ob_start();
|
|
|
ini_set('memory_limit', '512M');
|
|
|
header("Pragma: public");
|
|
|
header("Expires: 0");
|
...
|
...
|
@@ -184,7 +186,7 @@ class IndexController extends HomeBaseController |
|
|
//header("Content-Length: 83995"); //文件大小$fsize
|
|
|
ob_clean();
|
|
|
flush();
|
|
|
ob_end_clean();
|
|
|
// ob_end_clean();
|
|
|
@readfile($filePath);
|
|
|
}
|
|
|
|
...
|
...
|
|