Downloading video to correct directory and displaying it on a chapter page.
This commit is contained in:
@@ -11,8 +11,6 @@ class ChapterController extends Controller
|
||||
{
|
||||
$symfonyCastDlService->videoSize($chapter);
|
||||
$symfonyCastDlService->downloadFile($chapter);
|
||||
// $symfonyCastDlService->videoSize($chapter);
|
||||
// file_put_contents('movie.avi', file_get_contents($chapter->video_link));
|
||||
dd($chapter->toArray());
|
||||
return view('chapter.index', compact('chapter'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user