I’m finally working on updating my site from Kirby1.something to the latest release. It’s mostly going well but one thing has me stumped. On pages that have a YouTube or Vimeo embed (using kirbytext), the embed appears at 300px x 150px.
Previously I’d just do this
And the video would be the same width as the page text, with height scaled depending on the video aspect ratio. With Kirby 2 that gives me a tiny postage stamp embed.
If I add “width:100%” to the kirbytext tag, the width is as expected but the height is still 150. The only way I’ve found to get a different height is to specify it precisely.
(vimeo: https://vimeo.com/176644101 width:100% height:400)
That can’t be the right way but I can’t find anything else. What do I need to do differently in Kirby 2 to get a good embedded video?