iFrame not displaying

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

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/’;
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.

im having the same problem how do i fix it?