Plupload:上传时更新队列(顺序)?
当plupload将一组文件流式传输到目标服务器时,是否可以在不取消当前上传进度的情况下更新plupload的队列?
例如,我希望用户在当前上传时具有以下选项:
- 删除当前上传的文件(因此是队列中的第一个文件)
- 将新文件添加到队列(在底部)
- 更改某个文件的优先级(因此将其放在队列中的较高或较低位置)
- 如果优先级更改为队列中的第一个项目,则应暂停当前发送的项目,并在新的第一个项目完成上传后恢复
这是否需要修改 plupload 或者当前的 API 是否支持此功能?
While plupload is streaming a set of files to the target server, is it possible to update the queue of plupload without cancelling the current upload progress?
For example, I would like the user to have the following options while currently uploading:
- remove the currently uploading file (thus the first one in the queue)
- add a new file to the queue (at the bottom)
- change the priority of a certain file (thus place it higher or lower in the queue)
- if the priority is changed to the first item in the queue, the currently send item should be paused and resumed when the new first item has finished uploading
Would this require a modification of plupload or does the current API support this functionality?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论