hey thanks i guess i have pasted the code in the wrong place Where exactly do I paste this code $('', { name: 'myFrame', id: 'myFrame', class: 'youtube-player" type="text/html', width: '300', height: '250', src: ' https://www.youtube.com/embed/TIA6KNfpRqs ' }).appendTo('body');