Reference

Html::youtube()

Embeds a Youtube video by URL in an iframe

Html::youtube(string $url, array $options = [ ], array $attr = [ ]): string

Parameters

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

Return type

string

Source code

kirby/src/Toolkit/Html.php#L459