Skip to content

Kirby 4.4.1

vimeo()

Embeds a Vimeo video by URL in an iframe

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

Parameters

Name Type Default
$url * string
$options array [ ]
$attr array [ ]

Return type

string|null

Example

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