knownasilya / ember-plupload

Ember component for handling uploads using plupload
MIT License
87 stars 53 forks source link

Ember plupload Problem with Instantiating FileInput #75

Closed Rafalsonn closed 8 years ago

Rafalsonn commented 8 years ago

I want to create a drag & drop upload file ember.js app, I'm trying to use ember-plupload, but I can't make the plupload work, I'm using the sample code for template and route, my result is:

Instantiating FileInput... 
Trying runtime: html5 
Object {accept=[1], name="file", multiple=true, ...} 
default mode: browser 
selected mode: false 
Runtime 'html5' failed to initialize 
Trying runtime: html4 
Object {accept=[1], name="file", multiple=true, ...} 
default mode: browser 
selected mode: false 
Runtime 'html4' failed to initialize 
Trying runtime: flash 
Object {accept=[1], name="file", multiple=true, ...} 
select_multiple: true (compatible modes: null) 
drag_and_drop: true (compatible modes: null) 
default mode: client 
send_browser_cookies: false (compatible modes: client) 
select_file: true (compatible modes: client) 
selected mode: false 
Runtime 'flash' failed to initialize 
Trying runtime: silverlight 
Object {accept=[1], name="file", multiple=true, ...} 
select_multiple: true (compatible modes: null) 
drag_and_drop: true (compatible modes: null) 
default mode: browser 
send_browser_cookies: false (compatible modes: client) 
select_file: true (compatible modes: client) 
Silverlight is not installed or minimal version (2.0.31005.0) requirement not met (not likely). 
selected mode: false 
Runtime 'silverlight' failed to initialize 
Instantiating FileDrop...
Trying runtime: html5
Object {accept=[1], required_caps=Object, ...} 
default mode: browser 
selected mode: false 
Runtime 'html5' failed to initialize
Trying runtime: html4
Object {accept=[1], required_caps=Object, ...} 
default mode: browser 
selected mode: false
Runtime 'html4' failed to initialize 
Trying runtime: flash
Object {accept=[1], required_caps=Object, ...} 
select_multiple: true (compatible modes: null) 
drag_and_drop: true (compatible modes: null) 
default mode: client 
drag_and_drop: true (compatible modes: null) 
send_browser_cookies: false (compatible modes: client) 
select_file: true (compatible modes: client) 
selected mode: false 
Runtime 'flash' failed to initialize 
Trying runtime: silverlight 
Object {accept=[1], required_caps=Object, ...} 
select_multiple: true (compatible modes: null) 
drag_and_drop: true (compatible modes: null) 
default mode: browser 
drag_and_drop: true (compatible modes: null) 
send_browser_cookies: false (compatible modes: client) 
select_file: true (compatible modes: client) 
Silverlight is not installed or minimal version (2.0.31005.0) requirement not met (not likely). 
selected mode: false 
Runtime 'silverlight' failed to initialize

What can I do in that case?
My version of ember:

> ember-cli: 2.5.0
> node: 6.2.0
> os: win32 x64

Greetings, Rafał
ivascumarius commented 8 years ago

Same problem here. Using the sample code.

haveanicedavid commented 8 years ago

Same

tim-evans commented 8 years ago

Oh man. Lemme look at it. I think the docs may be bad.

tim-evans commented 8 years ago

Found a bug with a PR that was merged in recently, applying a bug fix. Sorry for that!

tim-evans commented 8 years ago

See 1.13.16

haveanicedavid commented 8 years ago

Thanks @tim-evans !

Rafalsonn commented 8 years ago

Thanks Tim !