imanghafoori1 / laravel-video

A laravel package to stream video content.
MIT License
263 stars 40 forks source link

issue with using external urls for files #18

Closed alirezaporthos closed 4 years ago

alirezaporthos commented 4 years ago

the mime_content_type($filePath) function in VideoStreamer.php line 33 accepts only a local url. if you use a external url for your video it will cause a problem.

can we do sth so it could work with external urls too?

quaque-ghy commented 4 years ago

Any solution please? video URL from s3 or digital ocean spaces still not working.

imanghafoori1 commented 4 years ago

This package is designed to work only with local file system, you first have to copy the streaming file from s3 onto your file and then play it. after that, you are free to delete the file.