Direct upload to s3 without the use of a productio

2019-03-16 19:12发布

We are creating a media driven website that requires our users to submit very large broadcast quality video files over the internet. We want to cut bandwidth issues out by eliminating the use of our production server (where the website is), and just creating a connection between the user and a s3 account.

To make matters even more fun, our hosting service only allows 50MB an upload through PHP...

I've looked all over the internet for a feasible solution, can anybody help?

A progress bar would be terrific as well.

2条回答
不美不萌又怎样
2楼-- · 2019-03-16 19:49

The simplest way to do this is with the S3 POST upload API. If you need a progress bar, you can do that easily on HTML5 browsers; if you need to support older browsers you may need a flash uploader.

查看更多
戒情不戒烟
3楼-- · 2019-03-16 20:06

You'd have to somehow provide your S3 credentials to your users, then, which I doubt you'd want to do. It'd be the only way to have the users direct upload to S3 without involving your server.

查看更多
登录 后发表回答