Hello I use the video block to embed videos from Vimeo in my site. since some of the videos in this website are old they have different aspect ratio.
I would need to give the wrapper element of the video some padding like this: padding of 56.2% 0 0 0 so they could be shown with their full width and height, but some videos don’t fit to this magic number and it causes black gaps at the top and the bottom of the video. is there a way to get the aspect ratio of the video through Kirby video block?
I stumbled upon this protocol called oEmbed and I was wondering if there’s a way to use it with Kirby as well. Or maybe there is a different way in Kirby to show videos with full width and height with their correct ratio.
In the same way as you have modified the image block, i.e. overwrite video.yml. But if I were you, I wouldn’t do this in the page blueprint, but overwrite image.yml and video.yml in /site/blueprints/blocks to keep your page blueprint clean.