{#snippet videoThumbnail(video: MediaVideo)}
validateThumbnail(video, event)}
onerror={() => useFallback(video)}
class="size-full object-cover transition duration-300 group-hover:scale-[1.015] group-hover:opacity-85 motion-reduce:transition-none"
/>
{#if showBadges}
{#if video.containsSpoilers}
spoilers
{/if}
{video.type}
{/if}
{/snippet}