Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
f-elix committed Oct 30, 2024
1 parent 314b19f commit 03559fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/components/html-elements/src/lib/HtmlVideo.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
}
};
// These attributes are not well handled by Svelte (see https://github.com/sveltejs/svelte/issues/6536)
// so we update them manually
$: if (el) {
updateAttribute('muted', muted);
updateAttribute('controls', controls);
Expand Down

0 comments on commit 03559fc

Please sign in to comment.