function redcircleIframe() { let iframe = document && document.createElement && document.createElement("iframe"); iframe.setAttribute("style","border: none;max-width: 100%;width:1px;min-width:100%;"); iframe.setAttribute("height", 170); iframe.setAttribute("scrolling", "no"); iframe.setAttribute("src", "https://redcircle.com/embedded-player/sh/54051e90-c6e1-43ac-9a01-4c8fc92bc79d/ep/5f0502f7-6ac0-44ff-9aa1-3276e79c5c19?"); Array.prototype.forEach.call(document.getElementsByClassName("redcirclePlayer-5f0502f7-6ac0-44ff-9aa1-3276e79c5c19"), el => { if (el.getElementsByTagName("iframe").length === 0) { el.appendChild(iframe) } }) } document.addEventListener("DOMContentLoaded", redcircleIframe)