fix(frontend): paint video poster frames, clip round videos to circle

This commit is contained in:
hh
2026-08-06 12:29:37 +02:00
parent 525ce024bc
commit 6b6edc9a0d
9 changed files with 79 additions and 6 deletions
@@ -8,6 +8,7 @@
import EmptyState from "$lib/components/ui/EmptyState.svelte";
import Icon from "$lib/components/ui/Icon.svelte";
import Spinner from "$lib/components/ui/Spinner.svelte";
import { poster } from "$lib/media/poster";
import { accounts } from "$lib/stores/accounts.svelte";
const PAGE = 60;
@@ -113,7 +114,9 @@
<video
src={previews[item.story_id]}
muted
playsinline
preload="metadata"
use:poster
></video>
<span class="play"><Icon name="play" size="1.5rem" /></span>
{:else}