Norbertho's avatar

Video Uploading

Hi guys, I would like to create website where i can upload videos and then display them on my website with video.js. Videos are usually big in file size. Is there any good practice how to upload videos with laravel on the website and save them on the server? should I use AWS or similar service to store my videos? Should be videos uploading async?

0 likes
1 reply
Niush's avatar

Using CDN is always better for large video streaming. It will be faster and does not affect your web server.

AWS Cloudfront is probably the easiest way to get started. You can utilize Laravel S3 Storage driver for small files but for large files probably it is better to upload media to S3 directly from the users browser and store the response in the database.

This is a great blog article for reference.

2 likes

Please or to participate in this conversation.