{{#if (or this.previewThumbnailSrc @payload.customThumbnailSrc @payload.thumbnailSrc)}}
{{#unless (or uploader.isUploading uploader.errors)}}
{{/unless}} {{#if this.isDraggedOver}}
Drop to replace video
{{/if}} {{/if}} {{#if (or uploader.errors uploader.isUploading (not @payload.src))}}
{{#if uploader.errors}} {{uploader.errors.firstObject.message}} {{/if}} {{#if this.isDraggedOver}} Drop it like it's hot 🔥 {{else if uploader.isUploading}} {{uploader.progressBar}} {{else if (not this.previewThumbnailSrc @payload.src)}} {{/if}}
{{else}}
0:00
/{{this.totalDuration}}
{{/if}}
{{#if (or @isSelected (clean-basic-html @payload.caption))}} {{/if}}
{{#if (and @isEditing @payload.src)}}
Video width
Autoplay your video on a loop without sound.
{{#unless @payload.loop}}
{{#if uploader.isUploading}} {{!-- {{uploader.progressBar}} --}}
{{uploader.progressBar}}
{{else if @payload.customThumbnailSrc}}
{{else}} {{/if}}
{{#if uploader.errors}}
{{#each uploader.errors as |error|}} {{error.message}} {{/each}}
{{/if}}
{{/unless}}
{{/if}}