fix: omit empty video poster attribute
This commit is contained in:
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}
|
||||||
|
|||||||
Reference in new issue
Block a user