Skip to content

Kirby 6.0.0

vimeo()

Embeds a Vimeo video by URL in an iframe

vimeo(string $url, array $options = [], array $attr = []): string|null

Parameters

Name Type Default
$urlrequired string no default value
$options array []
$attr array []

Return types

stringornull

Examples

<?= vimeo('http://vimeo.com/106181453') ?>