Trying to embed HTML code with Velo

Greetings! I am trying to create a “web browser” embedded onto my website:


However, when I type a URL and press go, it shows this:


My code so far is

$w . onReady ( function () {
$w ( “#Go” ). onClick ( function () {
$w ( “#Display” ). html = ‘<iframe width=“560” height=“315” src="’ , $w ( “#URL” ), ‘" title=“Anti-Blocker” frameborder=“0” allow=“accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture” allowfullscreen>’
});
});

Would appreciate some help!
Thanks in advance!

You print the iframe on the page with the code you wrote.
As far as I understand, what you want to do is actually:
https://www.wix.com/velo/reference/$w/htmlcomponent/postmessage

Check out this part