How to use the plupload/js/plupload.min.js.Uploader function in plupload

To help you get started, we’ve selected a few plupload examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github nothing628 / ai-cms / resources / assets / js / component / Dropzone / Dropzone.vue View on Github external
mounted() {
			bus.$on('start-upload', this.StartUpload);

			if (!this.isAdvancedUpload()) {
				console.log('Your browser doesn\'t support dropzone upload');
				return;
			}

			var tmpContainer = document.getElementById(this.dataName + 'container_');
			var tmpBrowse = document.getElementById(this.dataName + 'button_');

			this.uploader = new plupload.Uploader({
				runtimes: 'html5,html4',
				browse_button: tmpBrowse,
				container: tmpContainer,
				url: this.dataUpload,
				chunk_size: this.dataChunkSize,
				http_method: 'POST',
				//max_retries: 3,
				//multipart: true,
				multipart_params: this.dataOptions,
				//send_chunk_number: true,
				//send_file_name: true,
				headers: {
					'X-CSRF-TOKEN': Laravel.csrfToken,
					'Authorization': Laravel.apiToken
				},
				//required_features: 'chunks',
github nothing628 / ai-cms / resources / assets / js / component / Manga / Page / Page-Upload.vue View on Github external
mounted() { 
			var tmpContainer = document.getElementById(this.dataName + '_container_');
			var tmpBrowse = document.getElementById(this.dataName + '_button_');

			this.uploader = new plupload.Uploader({
				runtimes: 'html5,html4',
				browse_button: tmpBrowse,
				container: tmpContainer,
				url: this.dataUpload,
				chunk_size: this.dataChunkSize,
				http_method: 'POST',
				multipart_params: this.dataOptions,
				headers: {
					'X-CSRF-TOKEN': Laravel.csrfToken,
					'Authorization': Laravel.apiToken
				},
				file_data_name: this.dataName,
				filters: {
					max_file_size: this.dataMaxSize,
					mime_types: [
						{

plupload

Plupload is a JavaScript API for dealing with file uploads it supports features like multiple file selection, file type filtering, request chunking, client side image scaling and it uses different runtimes to achieve this such as HTML 5, Silverlight and F

AGPL-3.0
Latest version published 1 year ago

Package Health Score

60 / 100
Full package analysis