Calling one kirbytag from another

Is there a way to write a tag that calls another tag?

What I need to do is create a video tag, then I want to detect if the video is youtube or something else (using regular expressions) - and in case it’s a youtube, I just want to call the youtube kirby tag.

Is there a way to do this?


I’m pretty sure the awesome Oembed plug-in would be great for your use case. Have you given it a try?

What sort of videos are your non-youtube videos?

I’m using wistia.

Btw, I see that there is a way (I think) by constructing a new kirbytag object.
I resolved it by using the youtube helper function.