I embedded the video using the code below and i put it so it was on click and when i click the video appears at the top or beginning of the screen instead of at the bottom like i had planned for it...what am i doing wrong
$('', {
name: 'myFrame',
id: 'myFrame',
class: 'youtube-player" type="text/html',
width: '300',
height: '250',
src: 'https://www.youtube.com/embed/TIA6KNfpRqs'
}).appendTo('body');