DirkPersky/typo3-dp_cookieconsent

iframe loads with overlay

Chriz74 opened this issue · 1 comments

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?

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