lundi 28 septembre 2015

How to use Cloud Storage to multipart upload Music/Video (for Laravel)?

I'm thinking using S3 Amazon for storage (if you guys have better one, don't hesitate to recommend). I could do a normal file upload, but let's say I'm uploading a very large video/music file (something > 20mb), I will hit php upload maxfilesize.

Yes I can just set php_max_filesize value but I am thinking something else.

How to break those files into smaller chunks, and upload each chunks (like how you download torrent files, they each have the download chunks)? And stopping and continuing them anytime the user wants?

This (http://ift.tt/1QIf6CF) does not work, because it needs to read the file ON THE SERVER first, before uploading it, so it's useless. Are there any Laravel/PHP/JS library for this?

Or, I wonder how youtube did it?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1LgoWh1
via IFTTT

Aucun commentaire:

Enregistrer un commentaire