fix: omit empty video poster attribute

This commit is contained in:
Gabriel20xx committed 2026-11-18 20:09:24 +01:00
1 parent 9e58b6db01
commit ba171a74a9
1 file changed
+1 -1
@@ -461,7 +461,7 @@
<video <video
bind:this={mediaElement} bind:this={mediaElement}
{src} {src}
{poster} poster={poster || undefined}
{autoplay} {autoplay}
muted={autoplay && autoplayMuted} muted={autoplay && autoplayMuted}
{preload} {preload}