when i embed video it does not play in the correct spot

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');
1 person has
this problem
+1
This topic is no longer open for comments or replies.