mirror of
https://github.com/Bigherollc/wticreatorstudio.git
synced 2026-07-14 00:02:05 -04:00
Added experimental download function
This commit is contained in:
@@ -1119,6 +1119,14 @@ class StudioPlusVideoController extends Controller
|
||||
return Storage::download($path, str_replace('.mov', '.mp4', $studioPlusVideo->filename));
|
||||
}
|
||||
|
||||
public function downloadVideoExperimental1(Request $request, StudioPlusVideo $studioPlusVideo)
|
||||
{
|
||||
$disk = Storage::disk('gcs');
|
||||
$path = $studioPlusVideo->getRawOriginal('video_url');
|
||||
|
||||
return $disk->download($path);
|
||||
}
|
||||
|
||||
public function getTypes()
|
||||
{
|
||||
return response()->json([
|
||||
|
||||
Reference in New Issue
Block a user