Level 50
Hi,
Did you do?
php artisan storage:link
Look at the public disk: https://laravel.com/docs/master/filesystem#custom-filesystems
Hope it helps!
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
i am not able to view the video content in page shows me error as Illuminate \ Contracts \ Filesystem \ FileNotFoundException so how to get the video??
public function get_video()
{
$fileContents = Storage::disk('public')->get("/storage/videos/Sc.png");
$response = Response::make($fileContents, 200);
$response->header('Content-Type', "video/mp4");
return $response;
}
Please or to participate in this conversation.