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/da0e91b3-6c84-4653-be62-1f2162aef207/ep/79122fa6-5e58-49c6-9d7d-7f8f95c49862?"); Array.prototype.forEach.call(document.getElementsByClassName("redcirclePlayer-79122fa6-5e58-49c6-9d7d-7f8f95c49862"), el => { if (el.getElementsByTagName("iframe").length === 0) { el.appendChild(iframe) } }) } document.addEventListener("DOMContentLoaded", redcircleIframe)