Downloading files, calculating video size.
This commit is contained in:
@@ -10,7 +10,9 @@ class ChapterController extends Controller
|
||||
public function index(Chapter $chapter, SymfonyCastDlService $symfonyCastDlService)
|
||||
{
|
||||
$symfonyCastDlService->videoSize($chapter);
|
||||
$symfonyCastDlService->downloadFile($chapter);
|
||||
if($chapter->sync_offline){
|
||||
$symfonyCastDlService->downloadFile($chapter);
|
||||
}
|
||||
return view('chapter.index', compact('chapter'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user