laravel-video
laravel-video copied to clipboard
Assign to variable
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?
The question is not clear for me