Iframe
The iframe component is used to embed content from external applications directly on a web page.
Please contact webcoord@concordia.ca if you think you need to use the iframe component.
Uses
The iframe component allows an external application or code to be embedded on an AEM page.
Because embedded content can create security risks and/or a poor user experience, the Web Team vets all requests for iframes. Please contact webcoord@concordia.ca if you think you need an iframe.
Best practices
- If you wish to add a YouTube video to your page, use the YouTube Video component.
- To embed a video hosted by Concordia's Pegasus server, use the Media Player component.
- To embed videos from Vimeo, use the External component.
- To embed any other content, contact webcoord@concordia.ca. If the content can be embedded in an iframe safely and accessibly, the web team will do so.
- To enable auto-height for a seamless experience, paste the following line in the head of all iframe source pages. This usually has to be done by the owner of the iframe application.
<script type="text/javascript" src="https://www.concordia.ca/etc/designs/concordia/clientlibs/vendor/iframe-resizer/js/iframeResizer.contentWindow.min.js"></script>
Accessibility
All content within an iframe must meet the Government of Quebec's accessibility standards.