(function(d) { var queryParams = '?'; queryParams = queryParams.slice(0, -1); var newiframe = document.createElement('iframe'); newiframe.setAttribute('width','600'); newiframe.setAttribute('height','400'); newiframe.setAttribute('title', 'خودروبانک پلاس 1 قسمت 1 - تست تویوتا CHR و بی ام و Z4'); newiframe.setAttribute('allowFullScreen','true'); newiframe.setAttribute('webkitallowfullscreen','true'); newiframe.setAttribute('mozallowfullscreen','true'); newiframe.setAttribute('src','https://www.aparat.com/video/video/embed/videohash/D07R8/vt/frame' + queryParams); setTimeout(function(){ document.getElementById('15037232067928942').appendChild(newiframe); }, 200); })();