Is it possible, to place an <iframe> or an <object> directly to a construct layer? I have a sprite behind the "iframe"-layer and a sprite over the "iframe"-layer.
var elem = document.createElement("object");
elem.width = "600px";
elem.height = "300px";
elem.data = "https://www.youtube.com/embed/GlIzuTQGgzs";
// document.body.appendChild(elem);
// I want the iframe or object to attach to a layer, is it possible?
And other question:
How can i get the layer[0] in javascript with construct 3?
I'm only found the canvas-div: