showControls = true}
on:mouseleave={() => { showControls = false; showVolumeSlider = false; }}
>
{#if loading}
Loading...
{:else if error}
{error}
{:else}
{#if !isLive}
{#if stream.offlineImageUrl}

{:else}
{stream.name.charAt(0).toUpperCase()}
OFFLINE
{/if}
{/if}
{/if}
{#if showControls || !isLive}
{#if isLive && showControls}
showVolumeSlider = true}
on:mouseleave={() => showVolumeSlider = false}
>
{#if showVolumeSlider}
{/if}
{/if}
{/if}