Skip to content

Kirby 3.8.4

Html::vimeo()

Embeds a Vimeo video by URL in an <iframe>

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

Parameters

Name Type Default Description
$url * string Vimeo video URL
$options array [ ] Query params for the embed URL
$attr array [ ] Additional attributes for the <iframe> tag

Return type

string|null

Parent class

Kirby\Toolkit\Html