iframe adobe canvas

New Here ,
Feb 09, 2020 Feb 09, 2020

Copy link to clipboard

Copied

How can I insert an iframe in Adobe canvas, is there any javascript code?

TOPICS
Ad development

Views

256

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct Answer

Adobe Community Professional , Feb 13, 2020 Feb 13, 2020
It's just standard JavaScript. Literally thousands of tutorials out there if you'd bother to look. Like, a single line as a basic start point: canvas.parentNode.appendChild(document.createElement("iframe"));  

Likes

translate

Translate

Translate
Adobe Community Professional ,
Feb 10, 2020 Feb 10, 2020

Copy link to clipboard

Copied

You can't insert an iframe INTO a canvas element. The best you can do is create an iframe in the DOM and float it over the canvas so it looks like it's part of the canvas.

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 12, 2020 Feb 12, 2020

Copy link to clipboard

Copied

Thank you very much, could you tell me how you can do that?

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Feb 13, 2020 Feb 13, 2020

Copy link to clipboard

Copied

It's just standard JavaScript. Literally thousands of tutorials out there if you'd bother to look. Like, a single line as a basic start point:

canvas.parentNode.appendChild(document.createElement("iframe"));

 

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines