imanghafoori1 / laravel-video

A laravel package to stream video content.
MIT License
260 stars 41 forks source link

Assign to variable #21

Open piercegearhart opened 3 years ago

piercegearhart commented 3 years ago

Hello! This is less of an issue, and more of a question. I can see that the code VideoStreamer::streamFile($path) displays the video inside the browser once you go to the route connected to that controller function. I am wanting to I guess assign the video to a variable so I can display the video on a custom page, so there is more than just a video. I tried $video = VideoStreamer::streamFile($path); but of course that doesnt work because the code is setup to just show the video when pasting that in the controller. So is there a way I can do this?

imanghafoori1 commented 2 years ago

The question is not clear for me