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/571bd751-87d0-4036-9501-261ccf95d941?"); Array.prototype.forEach.call(document.getElementsByClassName("redcirclePlayer-571bd751-87d0-4036-9501-261ccf95d941"), el => { if (el.getElementsByTagName("iframe").length === 0) { el.appendChild(iframe) } }) } document.addEventListener("DOMContentLoaded", redcircleIframe)