Jump to content

Do you allow iframe content

Featured Replies

Posted
  • Community Expert

Johns Hopkins makes the COVID-19 map available as an iframe embed.  I tried on my site as I allow admins to post HTML.  I was not able to post it.  Is there anything special I need to do to allow it?

Is there a way to allow others to post embeds that are iframes?  Would you allow it?

Here is the code:

<iframe width=\"650\" height=\"400\" frameborder=\"0\" scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" title=\"2019-nCoV\" src=\"//arcgis.com/apps/Embed/index.html?webmap=14aa9e5660cf42b5b4b546dec6ceec7c&extent=77.3846,11.535,163.5174,52.8632&zoom=true&previewImage=false&scale=true&disable_scroll=true&theme=light\"></iframe>

Taken from here: https://coronavirus.jhu.edu/map-faq

2 hours ago, Square Wheels said:

Johns Hopkins makes the COVID-19 map available as an iframe embed.  I tried on my site as I allow admins to post HTML.  I was not able to post it.  Is there anything special I need to do to allow it?

Is there a way to allow others to post embeds that are iframes?  Would you allow it?

Here is the code:

<iframe width=\"650\" height=\"400\" frameborder=\"0\" scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" title=\"2019-nCoV\" src=\"//arcgis.com/apps/Embed/index.html?webmap=14aa9e5660cf42b5b4b546dec6ceec7c&extent=77.3846,11.535,163.5174,52.8632&zoom=true&previewImage=false&scale=true&disable_scroll=true&theme=light\"></iframe>

Taken from here: https://coronavirus.jhu.edu/map-faq

Before paste code iframe in editor, click Source button

1203849407_Screenshotat2020-04-08011343.thumb.png.bb12557541eb0c766e86e5dbb5e4def2.png

 

then paste code, and again Source button, and done...

 

 

 

18 hours ago, Square Wheels said:

Is there a way to allow others to post embeds that are iframes?  Would you allow it?

Only if you allow the member groups to post HTML content. Not recommended except for Admins.

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.