You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
<?php
|
|
use Kirby\Cms\Html;
|
|
|
|
/** @var \Kirby\Cms\Block $block */
|
|
?>
|
|
<?php if ($video = Html::video($block->url())): ?>
|
|
<figure>
|
|
<?= $video ?>
|
|
<?php if ($block->caption()->isNotEmpty()): ?>
|
|
<figcaption><?= $block->caption() ?></figcaption>
|
|
<?php endif ?>
|
|
</figure>
|
|
<?php endif ?>
|
|
|