{#if label} {label} {/if}
{#if duration > 0 && markers.length > 0}
{#each markers as marker} {/each}
{/if}
{#if !compact}
{formatTime(currentTime)}
(showVolume = true)} onmouseleave={() => (showVolume = false)} role="group"> {#if showVolume} setVol(Number((e.target as HTMLInputElement).value))} class="volume-slider" aria-label="Lautstärke einstellen" /> {/if}
{formatTime(duration)}
{/if}