DirkPersky / typo3-dp_cookieconsent

TYPO3 Extension: Enable a cookie consent box. Let you visitors control the usage of cookies and load script or content after a consent. (ePrivacy, TTDSG)
GNU Affero General Public License v3.0
32 stars 27 forks source link

iframe loads with overlay #103

Closed Chriz74 closed 2 years ago

Chriz74 commented 2 years ago

I made a custom Content-Element for YouTube-Videos. But the iframe still loads all google-data (fonts etc.) when the dp-overlay is shown.

when i use the ajax-content-element then it works fine. i used this code:

<div class="embed-responsive embed-responsive-16by9">  
  <iframe class="embed-responsive-item dp--iframe" data-cookieconsent="statistics" src="https://www.youtube-nocookie.com/embed/{data.tx_mask_youtubeid}?rel=0" allowfullscreen></iframe>
</div>

is my code wrong?

Chriz74 commented 2 years ago

sorry... my fault. it lacks the 'data-src" ...