(function(d) { var queryParams = '?'; queryParams = queryParams.slice(0, -1); var newiframe = document.createElement('iframe'); newiframe.setAttribute('width','535'); newiframe.setAttribute('height','300.9375'); newiframe.setAttribute('title', 'تنگ صراحی ۲۸cm'); newiframe.setAttribute('allowFullScreen','true'); newiframe.setAttribute('webkitallowfullscreen','true'); newiframe.setAttribute('mozallowfullscreen','true'); newiframe.setAttribute('src','https://www.aparat.com/video/video/embed/videohash/pU9mo/vt/frame' + queryParams); setTimeout(function(){ document.getElementById('15420193563432587').appendChild(newiframe); }, 200); })();