.appendTo('# ') puts video at bottom outside page
Hi, I am trying to dynamically insert a video into a page, and the below code does work, it inserts the video, but it inserts it at the bottom of the page where it is not visible unless I scroll up the page. There are no other components in the page. How can i make it insert the video right under the page title? (video1 is the name of the page/screen). I have tried creating other components like html and labels and using those names for the appendTo but the then the video doesnt appear. It only works with the page/screen name.
var section1 = ''
var totalsection = section1.concat(section2)
var mysource = totalsection.concat(section3)
$(mysource).appendTo('#video1')