1

(2 replies, posted in Core API)

But what about for example Safari 5.1? If I enable chunking in config for html5 runtime, it will still not be used because of browser not runtime. And maybe there are even more browsers like that so I cannot rely on chunking property and runtime in config to determine if chunking is used or not. It would be good to have any function in plupload to know if chunking is actually used or not.

2

(2 replies, posted in Core API)

Hi, simple question: is there any way to determine whether chunking is actually used or not in pl 2.1?

Thanks.

3

(0 replies, posted in Core API)

Hello, drop_element is not working for me in any browser. Here's my config:

                    runtimes: 'html5,silverlight,html4'
                    ,
                    browse_button: that.$browseButton[0]
                    ,
                    browse_button_hover: "gz-uploader-browse-button-hover"
                    ,
                    container: $element.attr("id")
                    ,
                    drop_element: that.$dropZoneElement[0]
                    ,
                    chunk_size: that.options.chunkSize
                    ,
                    max_file_size: '2GB'
                    ,
                    multipart: true
                    ,
                    multipart_params: {
                        "path": this.options.path.join("\\")
                        ,
                        "data": this.options.data
                    }
                    ,
                    url: this.options.url
                    ,
                    flash_swf_url: that.jsFileLocation + 'Moxie.swf'
                    ,
                    silverlight_xap_url: that.jsFileLocation + 'Moxie.xap'
                    ,

that.$dropZoneElement is jQuery object and I checked that there's really wrapped DOM object (div element) inside it ($dropZoneElement[0]). I have created some testing fiddle and it worked correctly - so there may be any problem with my config? When I changed drop_element to any other element it still does not work. It also does not work when I specify ID instead of DOM itself.

Thanks for any advance.

4

(5 replies, posted in Core API)

OK, I have uploaded to Flex SDK directories newest version of flash player and it works now - swf files are created in bin directory. To my disappointment, after creating plupload.full.min from these files it still does not work!

I did:

1) downloaded all plupload directory from github by git command
2) ran npm install
3) went to src/moxie directory and ran jake mkjs and then jake mksw
3) went back to plupload directory and ran jake mkjs again to get plupload.full.min.
4) copied Moxie.swf and plupload.full.min from plupload\js folder to my project

What am I doing wrong? Please help.

Thanks.

5

(5 replies, posted in Core API)

OK thanks a lot for reply Davit. But can you tell me if I need to swf to be compiled to fix this issue or compiling plupload.full.min is sufficient? I guess I need also swf because as I said it does not work when I compile only plupload.full.min.

Thanks a lot.

6

(5 replies, posted in Core API)

Hello, I have compiled plupload.full.min eventually (which I found in js directory) by jake mkjs command, but it still does not work (flash behaves like there is chunking enabled (waits for a long time) when it is in fact not enabled).
Do I have to compile also swf? I tried to do it but it gave me many errors like 'possibly undefined functions' in src\moxie\src\flash\src\com\Image.as when I executed jake mkswf. I also had to rename flex_sdk_4.6\frameworks\libs\player\11.1 folder to 11.3 folder before. Does anybody know what to do? I really need to use flash very soon. I also wonder why it was still not compiled at least at Github?

Thanks a lot.

7

(5 replies, posted in Core API)

Hello, when I try to load large file over flash without chunking, it behaves like I have allowed chunking - upload waits and does nothing. This is the case both in IE and FF. I use the newest version of plupload from github. I am not sure if its a bug or not. Was there any change regarding flash upload?

You can see it for example here: http://jsfiddle.net/8QLjh/.

Thanks in advance.

8

(3 replies, posted in General discussion)

Roel, I guess I got it, just take new version of plupload.full.min from Github.

I am glad its all OK fo ie11 eventually :-)

9

(3 replies, posted in General discussion)

Hello, I have just tested my plupload code in ie11 browser and found out it does not work for html5 runtime at all. The same code worked for for ie10 and all other browsers as well. I cannot find any ie11 issue here on forum. Am I missing something? Has anyone the same problem?

Thanks a lot.

10

(4 replies, posted in Core API)

Hi, after some time I focused on this issue again. I have created this fiddle:

http://jsfiddle.net/mTEdw/2/

If you try to add two files (or more) at once, the first one throws error and stops, but the second one stops too. Maybe its because of the error I described above which occurs somewhere behind? It does not throw me any error in fiddle but it behaves the same eventually - all files in the queue are influenced by the uploading error of previous file.
What I need to do: if any file fails during upload, then the other files waiting in the queue should be uploaded independently on the failed one. How can I achieve this?
Thanks very much for any advance.

11

(4 replies, posted in Core API)

By clicking on add files button I choose two files to be uploaded in ie file browser.

12

(4 replies, posted in Core API)

Hi, I have just tried to simulate triggering errors for simulation. I have added this to uploading event of plupload in order to throw error during upload:

                  if (file.name == "projects.zip" && file.percent == 50)
                    up.trigger('Error', {
                        code: plupload.HTTP_ERROR,
                        message: 'Upload Error.',
                        file: file,
                        status: 0
                  });

It works good and I can easily catch that error in Error event of plupload. But when I try to add two files at once via html5 where first file is projects.zip, I get:

Unhandled exception at line 28, column 8457 in http://localhost:62272/GzClient/plupload.full.min.js, status is null or undefined.

this is the excrept of code in that file ... ess",iif(v.status>=400){p( ...

I don't know if it's bug or not. Please can anybody help me what is wrong?

Thanks a lot.

13

(112 replies, posted in News)

True I am sorry - my fault. But still I don't know answer to ie7 HTML5 issue. I run ie7 only via simulating it in ie10 browser by pressing F12 and setting ie7 there but I guess it still should not tell me I use HTML5. I need for ie7-9 chunking and this works as I want, but I am really confused of what runtime it shows.

14

(112 replies, posted in News)

Hi Davit please take a look at this:

that.uploader = new plupload.Uploader(
                {
                    runtimes: 'html5,silverlight'
                    ,
                    browse_button: that.$browseButton[0]
                    ,
                    container: $element.attr("id")
                    ,
                    drop_element: that.$dropZoneElement[0]
                    ,
                    chunk_size: '1mb'
                    ,
                    max_file_size: '2gb'
                    ,
                    multipart: true
                    ,
                    multipart_params: {
                        "path" : this.options.path.join("\\")
                    }
                    ,
                    url: this.options.url
                    ,
                    flash_swf_url: that.jsFileLocation + 'Moxie.swf'
                    ,
                    silverlight_xap_url: that.jsFileLocation + 'Moxie.xap'
                });
           
            that.uploader.bind('Init', function (up, params) {
                alert(params.runtime); <-- HERE IT SHOWS  HTML5
                ...

Furthermore when I type this url:

http://jsfiddle.net/gh/get/jquery/1.9.1 … re/bundled

to IE10 I can't upload anything, I see Your browser doesn't have Flash, Silverlight or HTML5 support. message which is nonsense.

Thanks a lot for advance.

15

(112 replies, posted in News)

Hi Davit, first of all I am very sorry because I thought you spoke only about dragdrop (widget) property in the last post. Now it begins to make sense. When I have there required_feauters and remove also drop_element than everything is perfect!
But now please tell me what runtime does e.g. ie7 use when I have not set required_features to true? It shows me html5 and thats very strange - how can ie7 support html5? I think silverlight should be there. Or is the same as for Safari 5.1 and ie7 can upload files in html5 manner? Ie7 even chunks upload succesfully :-O

Thanks a lot.

16

(112 replies, posted in News)

Still does not work. If there is required_feauters set to true, it does not work. As I said even when I tested via the link I sent you it did not work and there was no dragdrop. Anyway thanks for your advice, I removed that dragdrop in my config.
In fact it is all not so big problem for me becasuse I don't have to use required_features set to true eventually. But I am still confused why in ie7-9 it shows me html5 than. It should show Silverlight. Am I right?

Thanks.

17

(112 replies, posted in News)

In Safari 5.1 I get null too when i have required_features set to true. I've just tried this:
http://jsfiddle.net/gh/get/jquery/1.9.1 … re/bundled

and I am even more confused. In Safari 5.1 it works only when I have not set required_features to true, but in ie10 it does not work at all. In FF, Chrome and Opera it's OK even when I set required_features to true.

I send my config also:

                    runtimes: 'html5,silverlight'
                    ,
                    browse_button: that.$browseButton[0]
                    ,
                    container: $element.attr("id")
                    ,
                    drop_element: that.$dropZoneElement[0]
                    ,
                    dragdrop: true
                    ,
                    chunk_size: '1mb'
                    ,
                    required_features: true
                    ,
                    //required_features: 'chunking'
                    //,
                    max_file_size: '2gb'
                    ,
                    multipart: true
                    ,
                    multipart_params: {
                        "path" : this.options.path.join("\\")
                    }
                    ,
                    url: this.options.url
                    ,
                    flash_swf_url: that.jsFileLocation + 'Moxie.swf'
                    ,
                    silverlight_xap_url: that.jsFileLocation + 'Moxie.xap'

Thanks a lot for advance...

18

(112 replies, posted in News)

Thanks for reply Davit, now I see how it should work, but it does not work. If I set required_features to true and have 'html5,silverlight' specified in runtime, I get correctly html5 value for ie10, but always null value for ie7-9 (there should be silverlight instead of null). If I set runtime only to 'silverlight', I get always null value for ie7-ie10. I use windows 8 and have silverlilght installed. Do you have any idea why is it so?

Thnaks many times.

19

(112 replies, posted in News)

Hi Davit, I mean this:

that.uploader.bind('Init', function (up, params) {
                alert(params.runtime);
                }
});

In Ie 7 - 9 it even really chunks the upload (but maybe it's because of Silverlight -  I use html, silverlight runtimes in this order). In Safari 5.1 for Win. it also shows me html5 but the upload is not chunked.

Thanks.

20

(112 replies, posted in News)

Hello, the version taken from GitHub always shows me runtime HTML5 (which I have on the first place of runtimes) even in IE7-9 and Safari 5.1 for Windows. How is it possible? Thanks a lot for reply.

21

(112 replies, posted in News)

Thanks JFOC, and that's just my suggestion that it would be nice to have more drop zones. So one could write for example something like:

drop_element : '.my_class'

So drop element work as jQuery selector. I think this would be very useful (at least fro me :-)).

22

(112 replies, posted in News)

Ok, thanks JFOC, but I still have question / suggestion unanswered for long time:

Is there any support for more drop zones in plupload2? I mean something like: drop-element: 'selector'.
If not, will it be available in future releases?

Thanks.

23

(112 replies, posted in News)

Hello, is there any progress in plupload2 developement? It's still beta version and it seems to me like all the project freezed up - no news no new subversions ... Please let me now if I can rely on plupload2 in close future because I am going to use it in commercial website. Also please take a look at my previous post - I got no reply :-(.

Thank you very much for advance.

24

(112 replies, posted in News)

Hello, is there any support for more drop zones in plupload2? I mean something like: drop-element: 'selector'.
If not, will it be available in future releases?

Thanks.

25

(112 replies, posted in News)

Hello, I have following questions:

1) When is the estimated date for commercial plupload2 release (the version which will support simultaneous uploading)?
2) Will the licence for plupload be still valid for plupload2?
3) When I buy plupload licence can I use plupload2 beta for commercial purposes immediately?

Thanks very much for adavnce, regards

Jan.