We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8ae943c + 9ef85f2 commit b769aefCopy full SHA for b769aef
snippets/blocks/video-embed.php
@@ -9,6 +9,7 @@
9
$controls = $block->controls()->toBool() ? "controls" : "";
10
$autoplay = $block->autoplay()->toBool() ? "autoplay" : "";
11
$loop = $block->loop()->toBool() ? "loop" : "";
12
+$muted = $block->autoplay()->toBool() ? "muted" : "";
13
14
?>
15
@@ -19,6 +20,7 @@
19
20
<?= "$controls" ?>
21
<?= "$autoplay" ?>
22
<?= "$loop" ?>
23
+ <?= "$muted" ?>
24
alt="<?= $alt->esc() ?>">
25
<source src="<?= \Kirby\Toolkit\Str::esc($file->url()) ?>" type="video/mp4">
26
Your browser does not support the video tag.
0 commit comments