Uncaught NOT_FOUND_ERR: NOT_FOUND_ERR: DOMException 8 in Ember while using plupload

158 Views Asked by At

while using plupload component in ember it seems an error on console, and plupload nor working

Instantiating FileInput...

moxie.js:3027Uncaught NOT_FOUND_ERR: NOT_FOUND_ERR: DOMException 8

i refered this link

thank you in advance

1

There are 1 best solutions below

0
On BEST ANSWER

An element with the id "upload-image" is needed to match the uploader's for attribute

{{#pl-uploader for="upload-image" extensions="jpg jpeg" onfileadd="uploadImage" as |queue|}}
  {{#if queue.length}}
    Uploading...{{queue.progress}}%
    </span>
  {{else}}
    <a id="upload-image">Add an Image.</a>**strong text**
  {{/if}}
{{/pl-uploader}}