{{#unless video.video.isLoaded}}
  <div class="thumb">
    <div class='cap'></div>
  </div>
  <div class='meta'>
    <p class='title'>
      <span class="placeholder"></span>
    </p>
    <p class='info'>
      <span class="placeholder"></span>
    </p>
  </div>
{{else}}
  {{#if video.video.notFound}}
    <div class="thumb">
      <div class='cap not-found'></div>
    </div>
    <div class='meta'>
      <p class='title'>
        {{i18n "Invalid Video"}}
      </p>
      <p class='info'>
        {{i18n "This video will be skipped"}}
      </p>
      <div class='actions'>
        <div {{action "removeVideo" video}} class="list-action click_to_remove">
          {{svg-icon path='svg/close'}}
        </div>
      </div>
    </div>
  {{else}}
    <div class="thumb">
      <div class='cap'>
        {{!-- scar notification --}}
        {{#if video.video.is_muted}}
          <div class="scar alert">
            {{svg-icon path='svg/muted'}}
          </div>
        {{/if}}
        <img src={{video.video.preview.medium}}>
      </div>
    </div>
    <div class='meta'>
      <p class='title'>
        {{#if video.video.title}}
          {{#if video.video.rollbackData.title}}
            {{video.video.rollbackData.title}}
          {{else}}
            {{video.video.title}}
          {{/if}}
        {{/if}}
        {{#unless video.video.title}}
          {{i18n 'Untitled'}}
        {{/unless}}
      </p>
      <p class='info'>
        {{#if isExpiring}}
          <span class='sub-text alert'>
            <span class="js-vod-delete-date">{{deleteDate}}</span>
            {{i18n "until deletion"}}
          </span>
        {{else}}
          {{relative-time date=video.video.recordedDate}}
          &middot;
          {{#if video.video.isRecording}}{{i18n "Recording"}}{{/if}}
          {{#unless video.video.isRecording}}{{length-as-clock video.video.length}}{{/unless}}
          &middot;
          {{commatized video.video.views}} {{i18n "Views"}}
        {{/if}}
      </p>
      <div class='actions'>
        <div {{action "removeVideo" video}} class="list-action click_to_remove">
          {{svg-icon path='svg/close'}}
        </div>
      </div>
    </div>
  {{/if}}
{{/unless}}
