I’m still not there, but for parameters that should be added to the URL, you can set them like this:
'kirbytext' => [
'video' => [
'options' => [
'youtube' => [
'autoplay' => true,
'controls' => 0,
'modestbranding' => 1,
'showinfo' => 0
]
]
]
]
Which then results in an iframe with a src url like this:
<iframe allowfullscreen="" src="https://youtube.com/embed/c1Fr1gJurdw?allowfullscreen=0&autoplay=1&controls=0&modestbranding=1&showinfo=0"></iframe>