English 中文(简体)
倍增载的通用/全球环境
原标题:Generic/ global settings for plupload
  • 时间:2011-10-17 07:50:22
  •  标签:
  • plupload
问题回答

我这样说:

 var uploaderParams = {
     runtimes :  html5,silverlight,html4 ,
     browse_button :  select-images ,
     container:  upload-container ,
     multipart : false,
     ... etc ...
 }

然后,当我需要开始上载时,将先前的参数(在舱面具的帮助下)与我用于特定上载器的参数进行延伸:

var uploader = new plupload.Uploader($.extend(uploaderParams, {
    url :  someurl ,
    multi_selection : true,
    ... etc ...
}

我希望这将有助于你。





相关问题
Uploading multiple files to blobstore (redux)

Yes, I ve seen this question already, but I m finding information that contradicts its accepted answer and Nick Johnson s blog on the GAE docs. The docs talk about uploading more than one file at ...

plupload with ASP.NET forms authenticated handler

I am trying to use plupload to upload files in ASP.NET. My upload handler ideally needs to be included in the forms authentication on my site, but it doesn t work in this case. I can t see the ...

Refresh plupload

I m using plupload. How do you reset the uploader after the transfer queue completes, so the user can upload more files if they want?

Modify the file parameters in plupload

I am using plupload. I cannot find a way to edit the name that the upload script sets for the file I am uploading. Is there a way to change the file name?

How to use the plupload package with ASP.NET MVC?

I am using plupload version 1.3.0 More specifically how I have to define my controller action to support chunking? Can I use the HttpPosteFileBase as a parameter? At the moment I am using the ...

Error: Allowed memory size of 67108864 bytes exhausted

When I upload a picture File size: 375kb Width: 2000px Height: 3000px I get an error ERROR Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 2157 bytes) in... ...

Plupload upload filename issues

I have been successful in porting over plupload into Codeigniter, but when a user uploads a file, the filename comes out like this: _1, _2, _3, etc. What could be causing this error? Here is my ...

热门标签