(function(d) { var queryParams = '?'; queryParams = queryParams.slice(0, -1); var newiframe = document.createElement('iframe'); newiframe.setAttribute('width','480'); newiframe.setAttribute('height','270'); 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/iPx4S/vt/frame' + queryParams); setTimeout(function(){ document.getElementById('15208511096167883').appendChild(newiframe); }, 200); })();