Iframe Mananger is a lightweight javascript plugin which helps you comply with GDPR by completely removing iframes initially and setting a notice relative to that service. Iframes are loaded only after consent.
Documentation | CookieConsent
<!-- Responsive iframe with custom title + custom thumbnail -->
<div
data-service="twitch"
data-id="channel=bdougieYO"
data-title="Random twitch stream"
data-thumbnail="../assets/twitch-purple_large.jpg"
data-autoscale >
</div>
<!-- Responsive iframe without thumbnail -->
<div
data-service="youtube"
data-id="Zya4bDgVU9k"
data-thumbnail=""
data-autoscale>
</div>
<!-- Responsive iframe with auto thumbnail + iframe parameters -->
<div
data-service="youtube"
data-id="lpe3NgZxQxs"
data-params="start=21&mute=1"
data-autoscale>
</div>
<!-- Responsive iframe with auto thumbnail -->
<div
data-title="When a Model meets a Painter"
data-service="dailymotion"
data-id="x81z2r8"
data-autoscale>
</div>
<div
data-service="vimeo"
data-id="193020509"
data-ratio="2:1"
data-autoscale>
</div>