i'm making a website in Edge Animate for a class project and am trying to embed a youtube video within it.
here is my code:
var youtubevid = $("<iframe/>");
sym.$("video12").append(youtubevid);
youtubevid.attr('type','text/html');
youtubevid.attr('width','540');
youtubevid.attr('height','315');
youtubevid.attr('src','http://www.youtube.com/embed/_JY4ZV_fumU?rel=0'); // url/Video_Id
youtubevid.attr('frameborder','1'); // 1 | 0
youtubevid.attr('allowfullscreen','0'); // 1 | 0
it's located within my stage, composition ready.
my understanding was first i needed to create a rectangle symbol the size of the video and that's where the video is embedded. on my page I see the video but it appears the symbol is over top
of the video so i can't play it.
Any ideas?
Thanks!