Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

iframe adobe canvas

New Here ,
Feb 09, 2020 Feb 09, 2020

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

TOPICS
Ad development
727
Translate
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

LEGEND , 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"));

 

Translate
LEGEND ,
Feb 10, 2020 Feb 10, 2020

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.

Translate
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

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

Translate
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
LEGEND ,
Feb 13, 2020 Feb 13, 2020
LATEST

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"));

 

Translate
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