(function(d) { var queryParams = '?'; queryParams += 'titleShow=true&'; queryParams += 'recom=self&'; queryParams = queryParams.slice(0, -1); var newiframe = document.createElement('iframe'); newiframe.setAttribute('width','600'); newiframe.setAttribute('height','400'); 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/M0umD/vt/frame' + queryParams); setTimeout(function(){ document.getElementById('29022827107').appendChild(newiframe); }, 200); })();