(function(d) { var mainDiv = ''; mainDiv += '
'; var videoIframe = document.createElement('iframe'); videoIframe.setAttribute('width','600px'); videoIframe.setAttribute('height','400px'); videoIframe.setAttribute('allowFullScreen','true'); videoIframe.setAttribute('webkitallowfullscreen','true'); videoIframe.setAttribute('mozallowfullscreen','true'); videoIframe.setAttribute('rel','nofollow'); videoIframe.setAttribute('src','https://snn.ir/fa/news/play/1195055/2500626'); setTimeout(function(){ document.getElementById('video-display-embed-code_2500626').innerHTML = mainDiv; document.getElementById('video-display-embed-code_2500626').getElementsByClassName('main_div_embed_iframe')[0].appendChild(videoIframe); }, 100); })();