Laracasts has all their videos on vimeo. You can limit them to a specific domain, and require login and subscription in laravel to show it
Need advice for video hosting with Laravel please
Hi all,
I have just been asked by a friend to create a subscription-based video platform where people can watch/unlock his videos after a subscription payment.
My biggest problem is, where to host his videos? I am worried to host them on his VPS because of the server bandwidth and disk i/o, any recommendation of perhaps a service with an API that would work well with Laravel and offers video upload where you can link the video player back into your own platform?
Thanks,
@User1980 Yeah, Vimeo’s getting more and more expensive. They recently put the prices of their pro plan up that made a lot of creators irate.
I am wondering if your solution and by using Amazon for a small project like this would be much cheaper. There are other things to consider like video encoding, DRM and perhaps more I am more aware of. Apparently, certain players can make video downloads very difficult for video served based on a subscription service through some kind of special encoding.
Using S3 and Mux, your costs would be pay as you go rather than subscription-based like Vimeo is. Mux will encoded your videos using HLS. This creates multiple versions of your video so that your video is less likely to buffer if the user’s network gets congested (think Netflix where the picture quality drops for a short period).
You can also make playback “signed”, whereby videos will only play if the URL includes a JWT created by your application. This is what I use in my own subscription-based video on demand platform, and what I’ll be covering in my course. You can also add an additional layer of playback protected by creating playback restrictions. This basically whitelists the domain(s) the video can be played on. So if someone did grab a HLS playlist and video segments, they wouldn’t be usable on any other domain.
Please or to participate in this conversation.