(function(d) { var queryParams = '?'; queryParams = queryParams.slice(0, -1); var newiframe = document.createElement('iframe'); newiframe.setAttribute('width','640'); newiframe.setAttribute('height','360'); newiframe.setAttribute('title', 'جلسه هشتم :آموزش برنامه نویسی تحت ArcGIS به زبان پایتون'); newiframe.setAttribute('allowFullScreen','true'); newiframe.setAttribute('webkitallowfullscreen','true'); newiframe.setAttribute('mozallowfullscreen','true'); newiframe.setAttribute('src','https://www.aparat.com/video/video/embed/videohash/f9NAM/vt/frame' + queryParams); setTimeout(function(){ document.getElementById('1463398923572997').appendChild(newiframe); }, 200); })();