在上传之前处理文件

时间:2022-03-10 06:40:34

I got a form with SWFUpload. Files uploaded to the server are converted server-side (video being compressed, images being resized etc)

我有一个SWFUpload表单。上传到服务器的文件在服务器端转换(视频被压缩,图像被调整大小等)

Question is - can i delegate some of the functionality to client-side (like image resizing), to save some bandwidth for user.

问题是 - 我可以将一些功能委托给客户端(如图像大小调整),以便为用户节省一些带宽。

1 个解决方案

#1


Video compression via Javascript would probably slow the browser so much that it wouldn't be bandwidth savings and if anything would probably annoy the end user.

通过Javascript进行视频压缩可能会使浏览器变慢,以至于无法节省带宽,如果有什么事情可能会让最终用户烦恼。

#1


Video compression via Javascript would probably slow the browser so much that it wouldn't be bandwidth savings and if anything would probably annoy the end user.

通过Javascript进行视频压缩可能会使浏览器变慢,以至于无法节省带宽,如果有什么事情可能会让最终用户烦恼。