Downloading video to correct directory and displaying it on a chapter page.

This commit is contained in:
Krzysztof Płaczek
2022-11-17 08:24:17 +01:00
parent 21f61b0911
commit 2c62880282
4 changed files with 42 additions and 13 deletions

View File

@@ -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'));
}
}