SYNTH

`; var container = document.getElementById('matthew-s-synth-embed'); var iframe = document.createElement('iframe'); iframe.title = 'matthew s — synth'; iframe.loading = 'lazy'; iframe.style.width = '100%'; iframe.style.border = '0'; iframe.style.display = 'block'; iframe.style.minHeight = '460px'; container.appendChild(iframe); function resizeToContent(){ try{ var doc = iframe.contentWindow.document; var h = doc.documentElement.scrollHeight; if(h) iframe.style.height = h + 'px'; }catch(e){ /* cross-origin fallback: keep minHeight */ } } iframe.addEventListener('load', function(){ resizeToContent(); try{ var win = iframe.contentWindow; win.addEventListener('resize', resizeToContent); if('ResizeObserver' in win){ new win.ResizeObserver(resizeToContent).observe(win.document.body); } else { setInterval(resizeToContent, 800); } }catch(e){} }); iframe.srcdoc = docHtml; })();