If you just leave the interactive.iframe empty, you should have the intended result. The url and iframe properties should be used in a mutually exclusive manner.
In the Builder, you can achieve this by leaving the "Embed Contents" field of the Embed element empty (it defaults to *, just erase that).
I'm starting off with this:
`
Here's what I have in the rules document:
{"class":"InteractiveRule","selector":"div.video-container","properties":{"interactive.iframe":{"selector":"*","type":"element"},"interactive.url":{"attribute":"src","selector":"iframe","type":"string"}}}
Here's the result:
I've tried everything I know how to get rid of the div tags and only leave one instance of the iframe.
What am I doing wrong here?
If you just leave the
interactive.iframe
empty, you should have the intended result. The url and iframe properties should be used in a mutually exclusive manner.In the Builder, you can achieve this by leaving the "Embed Contents" field of the Embed element empty (it defaults to
*
, just erase that).Does that work?
Doing that gets rid of the entire thing. I'm left with no iframes and no figure for the embed. It's just blank space.
Using just the src should work. Did you try this:
Hi @BrendanWenzel, are you still facing this issue? Did the solution proposed by mburak work?
Closing due to inactivity. Please feel free to reopen if you need additional information.