{{#if @payload.src}}
{{#if (or uploader.errors uploader.isUploading)}} {{#if uploader.errors}} {{uploader.errors.firstObject.message}} {{/if}} {{#if this.isDraggedOver}} Drop it 🔥 {{else if uploader.isUploading}} {{uploader.progressBar}} {{else if (not @payload.thumbnailSrc)}} {{else}} {{/if}} {{else}} {{#if this.isDraggedOver}} Drop it 🔥 {{else if uploader.isUploading}} {{uploader.progressBar}} {{else if @payload.thumbnailSrc}}
{{else}} {{#if @isEditing}} {{else}} {{/if}} {{/if}} {{/if}}
0:00
/{{this.totalDuration}}
{{#unless @isEditing}}
{{/unless}} {{else}}
{{#if (or uploader.errors uploader.isUploading)}} {{#if uploader.errors}} {{uploader.errors.firstObject.message}} {{/if}} {{#if this.isDraggedOver}} Drop it like it's hot 🔥 {{else if uploader.isUploading}} {{uploader.progressBar}} {{/if}} {{else}} {{#if this.isDraggedOver}} Drop it like it's hot 🔥 {{else if uploader.isUploading}} {{uploader.progressBar}} {{else}}
{{svg-jar "audio-upload"}} Click to upload an audio file
{{/if}} {{/if}}
{{/if}}