Square Wheels Posted April 7, 2020 Posted April 7, 2020 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
Ryan Ashbrook Posted April 7, 2020 Posted April 7, 2020 How are you specifically posting it? I was able to just fine: https://take.ms/Z0CJB Note, that you should post the code exactly as-is, while also using the source button - note there's various slashes in your code that shouldn't be there: https://take.ms/VTrcL
Adlago Posted April 7, 2020 Posted April 7, 2020 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 then paste code, and again Source button, and done...
Lucas James Posted April 8, 2020 Posted April 8, 2020 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.
Recommended Posts