-
-
Notifications
You must be signed in to change notification settings - Fork 186
Closed
Description
Describe the bug
I don't get the parameters in the youtube url (iframe) when setting the $options in the youtube() function.
To Reproduce
In my Template i use the youtube() function with the $options to hide the controlls:
youtube($myVideoUrl, array("controlls" => 0))
Expected behavior
I want to get an iframe with the parameter controlls, like:
But the ?controlls=0 is missing.
Kirby Version
3.2.4
Console output
No Output
Desktop (please complete the following information):
- OS: macOS
- Browser: Firefox
- Version: 69
Additional context
https://github.com/getkirby/kirby/blob/3.2.4/src/Toolkit/Html.php#L439
Is $options['youtube'] right? With $options it works.
html::youtube() works perfectly.
Metadata
Metadata
Assignees
Labels
No labels