Add class to iframe in video block (Kirby Editor)


I am trying to add a class to the iframe of the video block the new Kirby Editor outputs. I understand I need to create a snippet made up of the available variables however am quite lost as to how to start this.

I am very new to Kirby/php so I am sure this is quite a basic question…
Any help would be much appreciated!

You cannot override the iframe class in the snippet, I’d add the class to the figure tag instead.

Thank you for that @texnixe