(function(d) { var responsiveStartStr = ''; responsiveStartStr += '
'; var responsiveEndStr = '
'; var queryParams = '?'; queryParams = queryParams.slice(0, -1); var newiframe = document.createElement('iframe'); newiframe.setAttribute('width','100%'); newiframe.setAttribute('height','100%'); newiframe.setAttribute('title', 'کاربرد سناریو در خانه هوشمند چیست؟'); newiframe.setAttribute('allowFullScreen','true'); newiframe.setAttribute('webkitallowfullscreen','true'); newiframe.setAttribute('mozallowfullscreen','true'); newiframe.setAttribute('src','https://www.aparat.com/video/video/embed/videohash/YzmKw/vt/frame' + queryParams); setTimeout(function(){ document.getElementById('977e5d93dc214ddd9379a2e2d7c91d37').innerHTML = responsiveStartStr + responsiveEndStr; document.getElementById('977e5d93dc214ddd9379a2e2d7c91d37').getElementsByClassName('h_iframe-aparat_embed_frame')[0].appendChild(newiframe); }, 200); })();