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
bind:this={mediaElement}
{src}
{poster}
poster={poster || undefined}
{autoplay}
muted={autoplay && autoplayMuted}
{preload}