I had issues with videos not working properly on iOS, so I modified the code for the video block and added 'playsinline' => true
. In my case, everything is now working as expected. This might be useful for others too (Kirby 4.3.0)
Just copy the file from /kirby/config/blocks/video.php to /site/snippets/blocks/video.php and then add ‘playsinline’ => true
‘autoplay’ => $block->autoplay()->toBool(),
‘controls’ => $block->controls()->toBool(),
‘loop’ => $block->loop()->toBool(),
‘muted’ => $block->muted()->toBool(),
‘poster’ => $block->poster()->toFile()?->url(),
‘preload’ => $block->preload()->value(),
‘playsinline’ => true,