Open 01-Scripts opened 4 years ago
I also needed an external script to load after the iframe is loaded. I solved it with the callback:
function init_script() {
$( '<script defer src="https://www.domain.com/js/resizecustomersitescroll.min.js"></script>' ).insertAfter( '#iframeId' );
}
callback: 'init_script',
Embedding code from twitter looks that way:
Basically the script tag must be handled accoringly to iframes.