<iframe-consent />
iframe-consent is GDPR conform drop-in replacement for the HTML <iframe /> tag.
Example:
<iframe-consent responsive icon="auto" width="560" height="315" src="https://www.youtube.com/embed/jNQXAC9IVRw" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen>
<p>Provide a privacy text for the user</p>
<p><a href="#">Link to privacy policy</a></p>
</iframe-consent>
Output:
Provide a privacy text for the user