{#if !ready && !loadError}
{:else if playing}
{:else}
{/if}
{formatTime(currentTime)}
{formatTime(totalDuration)}
{#if loadError}
Kunne ikke laste lydfilen
{/if} {#if hasSegments || transcript}
{ showTranscript = !showTranscript; }} class="flex items-center gap-1 px-1 text-[10px] text-gray-400 hover:text-gray-600 transition-colors" >
Transkripsjon
{#if showTranscript} {#if hasSegments}
{:else if transcript}
{transcript}
{/if} {/if} {/if}