-1
이 업로드 라이브러리를 구현 중이지만 어쩌면 많은 사람들이이를 사용하지 않을 수도 있지만 누군가이 문제를 해결하는 방법을 파악하는 데 도움을 줄 수 있습니다. plupdate의 올바른 구현
그래서 나는 이미 내가 여기 사람이 나에게 링크를 제공 할 수 있는지 알고 싶습니다 아니면 내 생각을 취소 할upload.bind();
처럼 것은 내가 "업 로더"오브제를 구현하려는 것입니다, 업로드 해요 .
정말 고마워요.
난이 질문에 대답 할 uploader = $("#uploader").plupload({
// General settings
runtimes: 'html5,flash,silverlight,html4',
url: objMaterial.geturl(),
urlstream_upload: true, //cambiar url en tiempo real
multi_selection: multiSelection,
unique_names: unicoNombre,
// User can upload no more then 20 files in one go (sets multiple_queues to false)
max_file_count: 1,
chunk_size: '1mb',
// Resize images on clientside if we can
filters: {
// Maximum file size
max_file_size: '50mb',
// Specify what files to browse for
mime_types: [
{
title: titulo,
extensions: extensiones
}
]
},
// Rename files by clicking on their titles
rename: true,
// Sort files
sortable: true,
// Enable ability to drag'n'drop files onto the widget (currently only HTML5 supports that)
dragdrop: true,
// Views to activate
views: {
list: true,
thumbs: true, // Show thumbs
active: 'thumbs'
},
// Flash settings
flash_swf_url: '../../js/Moxie.swf',
// Silverlight settings
silverlight_xap_url: '../../js/Moxie.xap'
});
//uploader = $("#uploader").plupload();
uploader = $('#uploader').plupload();
console.log(uploader);
//uploader = $("#flash_uploader").pluploadQueue();
uploader.bind('QueueChanged', function (up, files)
{
files_remaining = uploader.files.length;
});