{#if error}
{error}
{:else if loading}
{:else if files.length === 0}

{item?.title ?? 'Video'}

This item has no video file to play.

Download the file
{:else}
{item?.title} {file?.path.split('/').pop() ?? ''} {#if files.length > 1}· {index + 1} of {files.length}{/if} {#if file && codecSummary(file)} {codecSummary(file)} {/if}
Download
{#if notice} {/if}
{#if videoDecoded}

Playing video directly — no transcoding.

{/if}
{fmt(currentTime)} {fmt(duration)}

Space play/pause · ←/→ seek {SEEK_STEP}s · F fullscreen · M mute

{#if files.length > 1}
    {#each files as f, i (f.id)}
  1. {/each}
{/if}
{/if}