Iframe

From Open Source Ecology
Jump to: navigation, search

Introduction

Iframe - html tag for embedding outside content.

Example

<html><iframe src="https://opensourceecology.org " width=50% height=100%> </iframe></html>

Example

Real of the latter:

<html><iframe src="https://en.wikipedia.org/wiki/Open_Source_Ecology " width=50% height=50%> </iframe></html>

Does:

That's it.

Issues

Jul 28, 2019

Marcin & Michel,

> I noticed that https://wiki.opensourceecology.org/wiki/Universal_CNC_Axis#WebGL is not displaying. How would we fix that? Is it safe to embed iframes from http, or is that a risk?

As Marcin pointed out, the WebGL models on our wiki are broken since we migrated to a new server and added 'https' to wiki back in 2018-05

* https://wiki.opensourceecology.org/wiki/CHG-2018-05-22

The reason the iframe doesn't load is actually related to the client's browser, not our server. For security reasons, most user's web browsers will refuse to load unencrypted content in an iframe from within a website that's loaded over https. If you open the firefox developer console (f12), you'll see the following error:

Blocked loading mixed active content “http://3dcontent.be/axis_8mm_rods/axis_8mm_rods.html”

* https://developer.mozilla.org/en-US/docs/Web/Security/Mixed_content?utm_source=mozilla&utm_medium=firefox-console-errors&utm_campaign=default

Michel, it looks like you have https enabled for your website '3dcontent.be', but the certificate is invalid

* https://3dcontent.be/

Your GlobalSign-issued certificate is only valid for the domains '*.secure-secure.co.uk'. It is *not* valid for '3dcontent.be', so the content won't load on most client's browsers if we simply change the iframe to use "https://3dcontent.be/...".

Michel, can you fix the certificate above or do we have your permission to move the content onto our own site and host it locally? Alternatively, if we have stl files, we could try out this extension:

* https://www.mediawiki.org/wiki/Extension:3DAlloy

Michael Altfield Senior System Administrator PGP Fingerprint: 8A4B 0AF8 162F 3B6A 79B7 70D2 AA3E DF71 60E2 D97B

PiratePad