Downloading files, calculating video size.
This commit is contained in:
1 parent
2c62880282
commit
55c104629f
9 files changed
+77
-23
No files matched your search
@@ -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