Embedding Wiki via JavaScript on LMS
Hi all, Emily and I tested if the Wiki embed method(Via JavaScript) works on LMS
EdX[wikitext]
- Wiki Embed JavaScript code does not work in EdX edge - I tried to embed via HTML( Text) mode, but it makes the page all blank. The problem is due to mixed content in https:// and http:// ,and Chrome blocks the screen.
Connect[wikitext]
- Similar to EdX, it just adds extra HTML code, and it creates blank page.
Canvas[wikitext]
JavaScript embed method[wikitext]
- It strips off JavaScript and the code will stop working
Iframe method[wikitext]
*It works if I changed the URL of the wiki.ubc.ca to https:// instead of http://. I also tried other pages, but generally pages with http:// do not work well.
Oembed method[wikitext]
- Canvas documentation mention that oEmbed is supported - https://canvas.instructure.com/doc/api/file.editor_button_tools.html
Brightspace[wikitext]
JavaScript embed method[wikitext]
- It gives blank screen and it strips off code.
Iframe method[wikitext]
- When I add an iframe, Brightspace will automatically block iframe saying "We blocked this for you https....:This media is from another website.Do you want to allow it?" Students can unblock the content and view the content.
- Similar to Canvas, it is fine as long as the iframe content is in http://. Otherwise, browser will block the content.
Oembed method[wikitext]
- People from the Canvas community tested oEmbed but there are some limitation to it (such as, some providers are whitelisted) https://community.brightspace.com/forums/d2l_tool_and_feature_discussions/add_additional_oembed_providers