Closed Chriz74 closed 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?
sorry... my fault. it lacks the 'data-src" ...
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:
is my code wrong?