iFrame not displaying

Hi guys,
I have read and installed the iFrame add on, but its not working.
image

I have tried 2 different ways:

But nothing is showing.
Any ideas please?

Code is here:
var iframe = document.createElement(‘iframe’);
iframe.setAttribute(‘width’, ‘560’);
iframe.setAttribute(‘height’, ‘315’);
iframe.align = ‘center’
iframe.src = ‘https://www.dailymotion.com/’;
document.body.appendChild(iframe);
iframe.style.position = “absolute”
iframe.style.zIndex = 1000;

Thanks, Will

I get that result:

But the same-origin domain does not allow people to use any site without permission.

1 Like

Cool, thanks bud.
Cool, thanks bud.