(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', 'آموزش لایه ی اول روبیک 3در3-ساده ترین روش حل روبیک-نکات پیشرفته در حل روبیک'); newiframe.setAttribute('allowFullScreen','true'); newiframe.setAttribute('webkitallowfullscreen','true'); newiframe.setAttribute('mozallowfullscreen','true'); newiframe.setAttribute('src','https://www.aparat.com/video/video/embed/videohash/MDzcG/vt/frame' + queryParams); setTimeout(function(){ document.getElementById('').appendChild(newiframe); }, 200); })();