Html::video()
Creates a video embed via <iframe>
for YouTube or Vimeo videos; the embed URLs are automatically detected from the given URL
Html::video(string $url, array $options = [ ], array $attr = [ ]): string
Parameters
Name | Type | Default | Description |
---|---|---|---|
$url |
string |
– | Video URL |
$options |
array |
[ ] |
Additional |
$attr |
array |
[ ] |
Additional attributes for the |
Return type
string
Inherited from
Kirby\Toolkit\Html