Henry Case

Senior Analyst, Parascientific Solutions

About


This is the embed code. Looks like Carrd doesn't support data-src in the iframe, as you can see no URL in the data-src. Is it a bug?

<iframe src="" id="testimonialto-wall-of-love-for-testimonial-light" data-src="https://embed.testimonial.to/w/wall-of-love-for-testimonial?theme=light&card=base" frameborder="0" scrolling="no" width="100%"></iframe>
<script>let script1=document.createElement("script");script1.setAttribute("type", "text/javascript");script1.setAttribute("src", "https://testimonial.to/js/iframeResizer.min.js");script1.onload=()=>{window.iFrameResize({log: false, checkOrigin: false}, "#testimonialto-wall-of-love-for-testimonial-light"); function deferIframe(){var iframeElem=document.getElementById('testimonialto-wall-of-love-for-testimonial-light'); iframeElem.setAttribute('src',iframeElem.getAttribute('data-src'));}window.onload=deferIframe;};document.body.appendChild(script1);</script>

The embed iframe should be displayed below 👇. But it shows nothing.