javascriptember.jsember-clipluploadember-components

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


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


Solution

  • 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}}