Is it possible to add a unique iframe to the automatically generated event description page that will change depending on the event? Different iframe for each event

For example: I add an event to my website, it is added to the calendar widget, and when I click on the event, I am redirected to the page with the details of the event.
And on this page I need to additionally display embedded code with the functionality I need, which will differ depending on the event

Different iframe for each event

Wix Studio Editor

I tried to connect the CMS collection, where I added a reference to the events and, according to the event, the embedded code I needed, added Rich content, but it does not work correctly because it shows the same iframe on different events

How can I implement something like this?