fix(frontend): paint video poster frames, clip round videos to circle
This commit is contained in:
1 parent
525ce024bc
commit
6b6edc9a0d
9 files changed
+79
-6
No files matched your search
@@ -9,6 +9,7 @@
|
||||
import Icon from "$lib/components/ui/Icon.svelte";
|
||||
import Spinner from "$lib/components/ui/Spinner.svelte";
|
||||
import { peerName } from "$lib/format/peer";
|
||||
import { poster } from "$lib/media/poster";
|
||||
import { accounts } from "$lib/stores/accounts.svelte";
|
||||
|
||||
interface Group {
|
||||
@@ -167,7 +168,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}
|
||||
|
||||
Reference in new issue
Block a user