How to play videos from the folder of storage in Laravel?

Store the files in the folder storage to retrieve the photos using the package league/glide, that is, in the tag <img> indicates Routh who works with photos. But how to be, is there a simple solution?

The problem is that only public folder is accessible from Internet and the file storage is closed and the other...

All, I just can't specify <source src="/storage/file.mp4" type="video/mp4">
`storage` folder not available...
July 8th 19 at 11:54
1 answer
July 8th 19 at 11:56
Create a route which will give the necessary files on request.
Something like this:

Route::get('/videos/{filename}', function($filename){
 $file = Storage::get('videos/'.$filename);
 $mimetype = Storage::mimeType('videos/'.$filename);
 return response($file, 200)->header('Content-Type', $mimetype);

Find more questions by tags LaravelPHP